emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 1cb738a482e: * lisp/progmodes/elisp-mode.el (elisp--local-variabl


From: Juri Linkov
Subject: master 1cb738a482e: * lisp/progmodes/elisp-mode.el (elisp--local-variables): Remove `debug'.
Date: Thu, 9 Nov 2023 02:36:28 -0500 (EST)

branch: master
commit 1cb738a482e132e34e7b31415cc974e83e3f41ba
Author: Juri Linkov <juri@linkov.net>
Commit: Juri Linkov <juri@linkov.net>

    * 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).
---
 lisp/progmodes/elisp-mode.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]