aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKatsumi Yamaoka2013-12-25 22:37:04 +0000
committerKatsumi Yamaoka2013-12-25 22:37:04 +0000
commit38b2c142f4a0678d9106138233c4c2e2b4d340a4 (patch)
tree2179bc9915946be0d871056479605330005e9d74
parentaf3efc3255185b1f4760ff2385cf227cffb8bee2 (diff)
downloademacs-38b2c142f4a0678d9106138233c4c2e2b4d340a4.tar.gz
emacs-38b2c142f4a0678d9106138233c4c2e2b4d340a4.zip
byte-run.el (eval-when-compile), cc-defs.el (cc-eval-when-compile): Fix edebug spec (bug#16184)
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/emacs-lisp/byte-run.el2
-rw-r--r--lisp/progmodes/cc-defs.el2
3 files changed, 8 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 45c2154db0e..2ddb03b097b 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,9 @@
12013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2
3 * emacs-lisp/byte-run.el (eval-when-compile):
4 * lisp/progmodes/cc-defs.el (cc-eval-when-compile):
5 Fix edebug spec (bug#16184).
6
12013-12-25 Lars Ingebrigtsen <larsi@gnus.org> 72013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2 8
3 * net/shr.el (shr-visit-file): Remove debugging function. 9 * net/shr.el (shr-visit-file): Remove debugging function.
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 6beef7165d1..2afc52f2c17 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -391,7 +391,7 @@ If you think you need this, you're probably making a mistake somewhere."
391 "Like `progn', but evaluates the body at compile time if you're compiling. 391 "Like `progn', but evaluates the body at compile time if you're compiling.
392Thus, the result of the body appears to the compiler as a quoted constant. 392Thus, the result of the body appears to the compiler as a quoted constant.
393In interpreted code, this is entirely equivalent to `progn'." 393In interpreted code, this is entirely equivalent to `progn'."
394 (declare (debug (def-body)) (indent 0)) 394 (declare (debug (&rest def-form)) (indent 0))
395 (list 'quote (eval (cons 'progn body) lexical-binding))) 395 (list 'quote (eval (cons 'progn body) lexical-binding)))
396 396
397(defmacro eval-and-compile (&rest body) 397(defmacro eval-and-compile (&rest body)
diff --git a/lisp/progmodes/cc-defs.el b/lisp/progmodes/cc-defs.el
index b90a01dcb3b..6183257c6a1 100644
--- a/lisp/progmodes/cc-defs.el
+++ b/lisp/progmodes/cc-defs.el
@@ -1137,7 +1137,7 @@ been put there by c-put-char-property. POINT remains unchanged."
1137;; Make edebug understand the macros. 1137;; Make edebug understand the macros.
1138;(eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el. 1138;(eval-after-load "edebug" ; 2006-07-09: def-edebug-spec is now in subr.el.
1139; '(progn 1139; '(progn
1140(def-edebug-spec cc-eval-when-compile t) 1140(def-edebug-spec cc-eval-when-compile (&rest def-form))
1141(def-edebug-spec c-point t) 1141(def-edebug-spec c-point t)
1142(def-edebug-spec c-set-region-active t) 1142(def-edebug-spec c-set-region-active t)
1143(def-edebug-spec c-safe t) 1143(def-edebug-spec c-safe t)