* lisp/progmodes/elisp-mode.el (eval-sexp-add-defvars): Don't macroexpand.master
commitb877afdfd37d7cdf13ce60c6dc2186d5a0141724
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 18 Feb 2018 18:02:29 +0000 (18 13:02 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 18 Feb 2018 18:02:29 +0000 (18 13:02 -0500)
tree3c138f7654b6fc19c7c17cd92915875135790d8e
parent066e633cb6dacb846c0ac070c8d7d77985af8620
* lisp/progmodes/elisp-mode.el (eval-sexp-add-defvars): Don't macroexpand.

Otherwise it breaks C-M-x on (progn (defmacro x ..) (... (x ...))).
Furthermore, many callers do their own macroexpansion anyway.
(elisp--eval-last-sexp): Do macroexpansion to make up for it.
lisp/progmodes/elisp-mode.el