From: Luc Teirlinck Date: Sat, 3 Jan 2004 17:17:21 +0000 (+0000) Subject: (functionp): Doc fix. X-Git-Tag: ttn-vms-21-2-B4~8016 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=756bb7366fda5751fe3a7d67d35572c29494c0c5;p=emacs.git (functionp): Doc fix. --- diff --git a/lisp/subr.el b/lisp/subr.el index a2b09d6b63b..b251ab6573a 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -2205,7 +2205,10 @@ configuration." (eq (car object) 'frame-configuration))) (defun functionp (object) - "Non-nil iff OBJECT is a type of object that can be called as a function." + "Non-nil if OBJECT is any kind of function or a special form. +Also non-nil if OBJECT is a symbol and its function definition is +\(recursively) a function or special form. This does not include +macros." (or (and (symbolp object) (fboundp object) (condition-case nil (setq object (indirect-function object))