mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-29 08:31:35 -08:00
Improve doc strings of makunbound and fmakunbound
* src/data.c (Fmakunbound, Ffmakunbound): Improve doc strings. (Bug#41026)
This commit is contained in:
parent
e90b7b9ef2
commit
f9fa726ced
1 changed files with 16 additions and 4 deletions
20
src/data.c
20
src/data.c
|
|
@ -701,8 +701,14 @@ DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0,
|
|||
}
|
||||
|
||||
DEFUN ("makunbound", Fmakunbound, Smakunbound, 1, 1, 0,
|
||||
doc: /* Make SYMBOL's value be void.
|
||||
Return SYMBOL. */)
|
||||
doc: /* Empty out the value cell of SYMBOL, making it void as a variable.
|
||||
Return SYMBOL.
|
||||
|
||||
If a variable is void, trying to evaluate the variable signals a
|
||||
`void-variable' error, instead of returning a value. For more
|
||||
details, see Info node `(elisp) Void Variables'.
|
||||
|
||||
See also `fmakunbound'. */)
|
||||
(register Lisp_Object symbol)
|
||||
{
|
||||
CHECK_SYMBOL (symbol);
|
||||
|
|
@ -713,8 +719,14 @@ Return SYMBOL. */)
|
|||
}
|
||||
|
||||
DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0,
|
||||
doc: /* Make SYMBOL's function definition be nil.
|
||||
Return SYMBOL. */)
|
||||
doc: /* Make SYMBOL's function definition be void.
|
||||
Return SYMBOL.
|
||||
|
||||
If a function definition is void, trying to call a function by that
|
||||
name will cause a `void-function' error. For more details, see Info
|
||||
node `(elisp) Function Cells'.
|
||||
|
||||
See also `makunbound'. */)
|
||||
(register Lisp_Object symbol)
|
||||
{
|
||||
CHECK_SYMBOL (symbol);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue