Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
38b2c142
Commit
38b2c142
authored
Dec 25, 2013
by
Katsumi Yamaoka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
byte-run.el (eval-when-compile), cc-defs.el (cc-eval-when-compile): Fix edebug spec (bug#16184)
parent
af3efc32
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
2 deletions
+8
-2
lisp/ChangeLog
lisp/ChangeLog
+6
-0
lisp/emacs-lisp/byte-run.el
lisp/emacs-lisp/byte-run.el
+1
-1
lisp/progmodes/cc-defs.el
lisp/progmodes/cc-defs.el
+1
-1
No files found.
lisp/ChangeLog
View file @
38b2c142
2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
* emacs-lisp/byte-run.el (eval-when-compile):
* lisp/progmodes/cc-defs.el (cc-eval-when-compile):
Fix edebug spec (bug#16184).
2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
* net/shr.el (shr-visit-file): Remove debugging function.
...
...
lisp/emacs-lisp/byte-run.el
View file @
38b2c142
...
...
@@ -391,7 +391,7 @@ If you think you need this, you're probably making a mistake somewhere."
"Like `progn', but evaluates the body at compile time if you're compiling.
Thus, the result of the body appears to the compiler as a quoted constant.
In interpreted code, this is entirely equivalent to `progn'."
(
declare
(
debug
(
def-body
))
(
indent
0
))
(
declare
(
debug
(
&rest
def-form
))
(
indent
0
))
(
list
'quote
(
eval
(
cons
'progn
body
)
lexical-binding
)))
(
defmacro
eval-and-compile
(
&rest
body
)
...
...
lisp/progmodes/cc-defs.el
View file @
38b2c142
...
...
@@ -1137,7 +1137,7 @@ been put there by c-put-char-property. POINT remains unchanged."
;; Make edebug understand the macros.
;(eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el.
; '(progn
(
def-edebug-spec
cc-eval-when-compile
t
)
(
def-edebug-spec
cc-eval-when-compile
(
&rest
def-form
)
)
(
def-edebug-spec
c-point
t
)
(
def-edebug-spec
c-set-region-active
t
)
(
def-edebug-spec
c-safe
t
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment