From: Paul Eggert Date: Tue, 10 May 2022 22:20:49 +0000 (-0700) Subject: * src/eval.c (Ffunctionp): Clarify "function" in doc string. X-Git-Tag: emacs-29.0.90~1910^2~827 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=430b5ba838f31865139e3a724f9191e2b1de57d1;p=emacs.git * src/eval.c (Ffunctionp): Clarify "function" in doc string. --- diff --git a/src/eval.c b/src/eval.c index 77ec47e2b79..950338bf799 100644 --- a/src/eval.c +++ b/src/eval.c @@ -2803,7 +2803,11 @@ apply1 (Lisp_Object fn, Lisp_Object arg) } DEFUN ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0, - doc: /* Return t if OBJECT is a function. */) + doc: /* Return t if OBJECT is a function. + +An object is a function if it is callable via `funcall'; +this includes primitive functions, byte-code functions, closures, and +symbols with function bindings. */) (Lisp_Object object) { if (FUNCTIONP (object))