diff options
| author | Glenn Morris | 2015-04-30 21:18:52 -0400 |
|---|---|---|
| committer | Glenn Morris | 2015-04-30 21:18:52 -0400 |
| commit | 55496af138745cd6810db0de0f05ae3662230cc9 (patch) | |
| tree | b90418ac9abb1e4860a0bc2701660ffa6ac74b49 | |
| parent | 31c57b40c89d8b730e80ebb6933b1e1e04edeb5e (diff) | |
| download | emacs-55496af138745cd6810db0de0f05ae3662230cc9.tar.gz emacs-55496af138745cd6810db0de0f05ae3662230cc9.zip | |
* lisp/emacs-lisp/ert.el (ert--special-operator-p):
Update for 2015-02-08 change to indirect-function.
| -rw-r--r-- | lisp/emacs-lisp/ert.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/ert.el b/lisp/emacs-lisp/ert.el index 4ffd8cd8558..384fef546ae 100644 --- a/lisp/emacs-lisp/ert.el +++ b/lisp/emacs-lisp/ert.el | |||
| @@ -269,7 +269,7 @@ DATA is displayed to the user and should state the reason for skipping." | |||
| 269 | (defun ert--special-operator-p (thing) | 269 | (defun ert--special-operator-p (thing) |
| 270 | "Return non-nil if THING is a symbol naming a special operator." | 270 | "Return non-nil if THING is a symbol naming a special operator." |
| 271 | (and (symbolp thing) | 271 | (and (symbolp thing) |
| 272 | (let ((definition (indirect-function thing t))) | 272 | (let ((definition (ignore-errors (indirect-function thing)))) |
| 273 | (and (subrp definition) | 273 | (and (subrp definition) |
| 274 | (eql (cdr (subr-arity definition)) 'unevalled))))) | 274 | (eql (cdr (subr-arity definition)) 'unevalled))))) |
| 275 | 275 | ||