]> git.eshelyaron.com Git - emacs.git/commit
Don't call ERT explainer on error
authorMattias Engdegård <mattiase@acm.org>
Thu, 24 Jun 2021 18:48:41 +0000 (20:48 +0200)
committerMattias Engdegård <mattiase@acm.org>
Thu, 24 Jun 2021 18:48:41 +0000 (20:48 +0200)
commit1283e1db9b7750a90472e7d557fdd75fcaff6446
treee8e739d4a25cb342542cf27097d3f7bdd8b764c2
parentb188861af403aa0da0fefc3a8bf73c9380297e4e
Don't call ERT explainer on error

* lisp/emacs-lisp/ert.el (ert--expand-should-1): If the predicate form
signals an error, don't call an explainer because the arguments passed
(the error and error argument, respectively) do not make any sense to
the explainer at all.
lisp/emacs-lisp/ert.el