aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorStefan Monnier2024-10-27 14:52:25 -0400
committerStefan Monnier2024-10-27 14:52:25 -0400
commit9e1abf11fc1c3285cfa631ec71f3836d54e2c8d8 (patch)
tree8976ae6421309e969fb5dff88bbcd14ad8bfd5eb /src/data.c
parent7a8ca202c5eeb810e5f86510c3ea46d3ec519222 (diff)
downloademacs-9e1abf11fc1c3285cfa631ec71f3836d54e2c8d8.tar.gz
emacs-9e1abf11fc1c3285cfa631ec71f3836d54e2c8d8.zip
Tweak doc w.r.t to "void function" (bug#73886)
* doc/lispref/functions.texi (Function Cells): Avoid talking about the function cell being void. * src/data.c (Fboundp, Ffmakunbound, Fsymbol_function): Don't suggest that "void" can be considered as a kind of value.
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/data.c b/src/data.c
index bf83755bff3..904eaf35c1a 100644
--- a/src/data.c
+++ b/src/data.c
@@ -756,7 +756,7 @@ global value outside of any lexical scope. */)
756 breaking backward compatibility, as some users of fboundp may 756 breaking backward compatibility, as some users of fboundp may
757 expect t in particular, rather than any true value. */ 757 expect t in particular, rather than any true value. */
758DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0, 758DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0,
759 doc: /* Return t if SYMBOL's function definition is neither void nor nil. */) 759 doc: /* Return t if SYMBOL's function definition is not nil. */)
760 (Lisp_Object symbol) 760 (Lisp_Object symbol)
761{ 761{
762 CHECK_SYMBOL (symbol); 762 CHECK_SYMBOL (symbol);
@@ -785,7 +785,7 @@ DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0,
785 doc: /* Make SYMBOL's function definition be nil. 785 doc: /* Make SYMBOL's function definition be nil.
786Return SYMBOL. 786Return SYMBOL.
787 787
788If a function definition is nil or void, trying to call a function by 788If a function definition is nil, trying to call a function by
789that name will cause a `void-function' error. For more details, see 789that name will cause a `void-function' error. For more details, see
790Info node `(elisp) Function Cells'. 790Info node `(elisp) Function Cells'.
791 791
@@ -800,7 +800,7 @@ See also `makunbound'. */)
800} 800}
801 801
802DEFUN ("symbol-function", Fsymbol_function, Ssymbol_function, 1, 1, 0, 802DEFUN ("symbol-function", Fsymbol_function, Ssymbol_function, 1, 1, 0,
803 doc: /* Return SYMBOL's function definition, or nil if that is void or nil. */) 803 doc: /* Return SYMBOL's function definition. */)
804 (Lisp_Object symbol) 804 (Lisp_Object symbol)
805{ 805{
806 CHECK_SYMBOL (symbol); 806 CHECK_SYMBOL (symbol);