]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/ert.el (ert--special-operator-p): Fix previous.
authorGlenn Morris <rgm@gnu.org>
Fri, 1 May 2015 15:29:18 +0000 (08:29 -0700)
committerGlenn Morris <rgm@gnu.org>
Fri, 1 May 2015 15:29:18 +0000 (08:29 -0700)
lisp/emacs-lisp/ert.el

index 384fef546aec86e9d1ea1769af01d7599747bea8..8dc8261365f1453c23ec48488eada6a69cae823b 100644 (file)
@@ -269,7 +269,7 @@ DATA is displayed to the user and should state the reason for skipping."
 (defun ert--special-operator-p (thing)
   "Return non-nil if THING is a symbol naming a special operator."
   (and (symbolp thing)
-       (let ((definition (ignore-errors (indirect-function thing))))
+       (let ((definition (indirect-function thing)))
          (and (subrp definition)
               (eql (cdr (subr-arity definition)) 'unevalled)))))