Function: special-form-p

special-form-p is a byte-compiled function defined in subr.el.gz.

Signature

(special-form-p OBJECT)

Documentation

Non-nil if and only if OBJECT is a special form.

View in manual

Probably introduced at or before Emacs version 24.4.

Source Code

;; Defined in /usr/src/emacs/lisp/subr.el.gz
(defun special-form-p (object)
  "Non-nil if and only if OBJECT is a special form."
  (declare (side-effect-free error-free))
  (if (symbolp object) (setq object (indirect-function object)))
  (and (subrp object) (eq (cdr (subr-arity object)) 'unevalled)))