aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-07-14 20:24:03 +0200
committerLars Ingebrigtsen2019-07-14 20:24:03 +0200
commit9d84fcbef5439628df99c2022659a6eefb0a138e (patch)
treebe366e5ef1a16e216cfb31246319a91069080141
parent284e6cf9a41a57ab44003713940c75891cda8f6a (diff)
downloademacs-9d84fcbef5439628df99c2022659a6eefb0a138e.tar.gz
emacs-9d84fcbef5439628df99c2022659a6eefb0a138e.zip
Make elint understand condition-case-unless-debug
* lisp/emacs-lisp/elint.el (elint-special-forms): Teach elint about `condition-case-unless-debug' (bug#29585).
-rw-r--r--lisp/emacs-lisp/elint.el1
1 files changed, 1 insertions, 0 deletions
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."
554 (defcustom . elint-check-defcustom-form) 554 (defcustom . elint-check-defcustom-form)
555 (macro . elint-check-macro-form) 555 (macro . elint-check-macro-form)
556 (condition-case . elint-check-condition-case-form) 556 (condition-case . elint-check-condition-case-form)
557 (condition-case-unless-debug . elint-check-condition-case-form)
557 (if . elint-check-conditional-form) 558 (if . elint-check-conditional-form)
558 (when . elint-check-conditional-form) 559 (when . elint-check-conditional-form)
559 (unless . elint-check-conditional-form) 560 (unless . elint-check-conditional-form)