From: Juri Linkov Date: Thu, 9 Nov 2023 07:32:39 +0000 (+0200) Subject: * lisp/progmodes/elisp-mode.el (elisp--local-variables): Remove `debug'. X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=1cb738a482e132e34e7b31415cc974e83e3f41ba;p=emacs.git * lisp/progmodes/elisp-mode.el (elisp--local-variables): Remove `debug'. Remove symbol `debug' from the condition-case handler of `error' that was added in commit f931cebce76d911dfc61274e0a8c1de3627b9179 since it interferes on completing in an incomplete elisp form (bug#66979). --- diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el index ff90a744ea3..63198a660be 100644 --- a/lisp/progmodes/elisp-mode.el +++ b/lisp/progmodes/elisp-mode.el @@ -456,7 +456,7 @@ use of `macroexpand-all' as a way to find the \"underlying raw code\".") (lambda (expander form &rest args) (condition-case err (apply expander form args) - ((debug error) + (error (message "Ignoring macroexpansion error: %S" err) form)))) (sexp (unwind-protect