summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/byte-run.el
diff options
context:
space:
mode:
authorAlan Mackenzie <acm@muc.de>2017-01-01 08:28:04 +0000
committerAlan Mackenzie <acm@muc.de>2017-01-01 08:28:04 +0000
commit620e5a3cd4464aaffaa3568d6f6b89764de5cfbd (patch)
tree1bb99c1425f8bad8b2f99a391dd16c79d4464a0d /lisp/emacs-lisp/byte-run.el
parent535ef18ed523862db405d22ec4bea0bbfd4172ce (diff)
downloademacs-620e5a3cd4464aaffaa3568d6f6b89764de5cfbd.tar.gz
emacs-620e5a3cd4464aaffaa3568d6f6b89764de5cfbd.tar.bz2
emacs-620e5a3cd4464aaffaa3568d6f6b89764de5cfbd.zip
Give eval-and-compile a correct edebug spec. Fixes bug #16184 properly.
* lisp/emacs-lisp/edebug.el (edebug_offset_indices): Revert abortive commit from Thu Dec 29 09:22:36 2016 +0000 which didn't really fix the bug. * lisp/emacs-lisp/byte-run.el (eval-and-compile): Change the edebug spec from t to (&rest def-form).
Diffstat (limited to 'lisp/emacs-lisp/byte-run.el')
-rw-r--r--lisp/emacs-lisp/byte-run.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/byte-run.el b/lisp/emacs-lisp/byte-run.el
index 9d2a048f365..e680ebbdc58 100644
--- a/lisp/emacs-lisp/byte-run.el
+++ b/lisp/emacs-lisp/byte-run.el
@@ -474,7 +474,7 @@ load time. In interpreted code, this is entirely equivalent to
`progn', except that the value of the expression may be (but is
not necessarily) computed at load time if eager macro expansion
is enabled."
- (declare (debug t) (indent 0))
+ (declare (debug (&rest def-form)) (indent 0))
;; When the byte-compiler expands code, this macro is not used, so we're
;; either about to run `body' (plain interpretation) or we're doing eager
;; macroexpansion.