From 756bb7366fda5751fe3a7d67d35572c29494c0c5 Mon Sep 17 00:00:00 2001 From: Luc Teirlinck Date: Sat, 3 Jan 2004 17:17:21 +0000 Subject: [PATCH] (functionp): Doc fix. --- lisp/subr.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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)) -- 2.39.2