changeset 53485:deac15f329bb

(functionp): Doc fix.
author Luc Teirlinck <teirllm@auburn.edu>
date Sat, 03 Jan 2004 17:17:21 +0000
parents b1348f420711
children 23376885b0f9
files lisp/subr.el
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/subr.el	Sat Jan 03 17:15:46 2004 +0000
+++ b/lisp/subr.el	Sat Jan 03 17:17:21 2004 +0000
@@ -2205,7 +2205,10 @@
        (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))