From 9d84fcbef5439628df99c2022659a6eefb0a138e Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 14 Jul 2019 20:24:03 +0200 Subject: [PATCH] Make elint understand condition-case-unless-debug * lisp/emacs-lisp/elint.el (elint-special-forms): Teach elint about `condition-case-unless-debug' (bug#29585). --- lisp/emacs-lisp/elint.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/emacs-lisp/elint.el b/lisp/emacs-lisp/elint.el index 4a539720168..6927921bdac 100644 --- a/lisp/emacs-lisp/elint.el +++ b/lisp/emacs-lisp/elint.el @@ -554,6 +554,7 @@ Return nil if there are no more forms, t otherwise." (defcustom . elint-check-defcustom-form) (macro . elint-check-macro-form) (condition-case . elint-check-condition-case-form) + (condition-case-unless-debug . elint-check-condition-case-form) (if . elint-check-conditional-form) (when . elint-check-conditional-form) (unless . elint-check-conditional-form) -- 2.39.2