diff options
| author | Stefan Monnier | 2024-10-27 14:52:25 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2024-10-27 14:52:25 -0400 |
| commit | 9e1abf11fc1c3285cfa631ec71f3836d54e2c8d8 (patch) | |
| tree | 8976ae6421309e969fb5dff88bbcd14ad8bfd5eb /src/data.c | |
| parent | 7a8ca202c5eeb810e5f86510c3ea46d3ec519222 (diff) | |
| download | emacs-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.c | 6 |
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. */ |
| 758 | DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0, | 758 | DEFUN ("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. |
| 786 | Return SYMBOL. | 786 | Return SYMBOL. |
| 787 | 787 | ||
| 788 | If a function definition is nil or void, trying to call a function by | 788 | If a function definition is nil, trying to call a function by |
| 789 | that name will cause a `void-function' error. For more details, see | 789 | that name will cause a `void-function' error. For more details, see |
| 790 | Info node `(elisp) Function Cells'. | 790 | Info node `(elisp) Function Cells'. |
| 791 | 791 | ||
| @@ -800,7 +800,7 @@ See also `makunbound'. */) | |||
| 800 | } | 800 | } |
| 801 | 801 | ||
| 802 | DEFUN ("symbol-function", Fsymbol_function, Ssymbol_function, 1, 1, 0, | 802 | DEFUN ("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); |