aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/data.c')
-rw-r--r--src/data.c20
1 files changed, 16 insertions, 4 deletions
diff --git a/src/data.c b/src/data.c
index bce2e53cfb6..1db0a983b49 100644
--- a/src/data.c
+++ b/src/data.c
@@ -695,8 +695,14 @@ DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0,
695} 695}
696 696
697DEFUN ("makunbound", Fmakunbound, Smakunbound, 1, 1, 0, 697DEFUN ("makunbound", Fmakunbound, Smakunbound, 1, 1, 0,
698 doc: /* Make SYMBOL's value be void. 698 doc: /* Empty out the value cell of SYMBOL, making it void as a variable.
699Return SYMBOL. */) 699Return SYMBOL.
700
701If a variable is void, trying to evaluate the variable signals a
702`void-variable' error, instead of returning a value. For more
703details, see Info node `(elisp) Void Variables'.
704
705See also `fmakunbound'. */)
700 (register Lisp_Object symbol) 706 (register Lisp_Object symbol)
701{ 707{
702 CHECK_SYMBOL (symbol); 708 CHECK_SYMBOL (symbol);
@@ -707,8 +713,14 @@ Return SYMBOL. */)
707} 713}
708 714
709DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0, 715DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0,
710 doc: /* Make SYMBOL's function definition be nil. 716 doc: /* Make SYMBOL's function definition be void.
711Return SYMBOL. */) 717Return SYMBOL.
718
719If a function definition is void, trying to call a function by that
720name will cause a `void-function' error. For more details, see Info
721node `(elisp) Function Cells'.
722
723See also `makunbound'. */)
712 (register Lisp_Object symbol) 724 (register Lisp_Object symbol)
713{ 725{
714 CHECK_SYMBOL (symbol); 726 CHECK_SYMBOL (symbol);