Modified lisp/subr.el diff --git a/lisp/subr.el b/lisp/subr.el index 1e50903..3b27e7b 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -2805,7 +2805,7 @@ Otherwise, return nil." (defun special-form-p (object) "Non-nil if and only if OBJECT is a special form." (if (and (symbolp object) (fboundp object)) - (setq object (indirect-function object))) + (setq object (indirect-function object 'no-error))) (and (subrp object) (eq (cdr (subr-arity object)) 'unevalled))) (defun field-at-pos (pos)