emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 430b5ba838: * src/eval.c (Ffunctionp): Clarify "function" in doc


From: Paul Eggert
Subject: master 430b5ba838: * src/eval.c (Ffunctionp): Clarify "function" in doc string.
Date: Tue, 10 May 2022 18:22:04 -0400 (EDT)

branch: master
commit 430b5ba838f31865139e3a724f9191e2b1de57d1
Author: Paul Eggert <eggert@cs.ucla.edu>
Commit: Paul Eggert <eggert@cs.ucla.edu>

    * src/eval.c (Ffunctionp): Clarify "function" in doc string.
---
 src/eval.c | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/eval.c b/src/eval.c
index 77ec47e2b7..950338bf79 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]