eagerly.
Fixes: debbugs:14422
+2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
+ eagerly (bug#14422).
+
2013-06-03 Michael Albinus <michael.albinus@gmx.de>
* autorevert.el (auto-revert-notify-enabled)
(defun eval-sexp-add-defvars (exp &optional pos)
"Prepend EXP with all the `defvar's that precede it in the buffer.
POS specifies the starting position where EXP was found and defaults to point."
+ (setq exp (macroexpand-all exp)) ;Eager macro-expansion.
(if (not lexical-binding)
exp
(save-excursion