]> git.eshelyaron.com Git - emacs.git/commitdiff
Make elint understand condition-case-unless-debug
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Jul 2019 18:24:03 +0000 (20:24 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 14 Jul 2019 18:24:03 +0000 (20:24 +0200)
* lisp/emacs-lisp/elint.el (elint-special-forms): Teach elint
about `condition-case-unless-debug' (bug#29585).

lisp/emacs-lisp/elint.el

index 4a53972016865d4897a023f4142ba6b183923db9..6927921bdac0ed1b0068d2f7cf2a875b96aac0e6 100644 (file)
@@ -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)