aboutsummaryrefslogtreecommitdiffstats
path: root/src/data.c
diff options
context:
space:
mode:
authorAndrea Corallo2020-05-06 20:11:59 +0100
committerAndrea Corallo2020-05-06 20:11:59 +0100
commit92cf4bb8cc3da81f4877a734b9e9089ac4b89e85 (patch)
tree4e301ead55e89ad965205abf8cee0d136ff543ed /src/data.c
parentf8df3320b1ceffca8d5ee7cbc566ba3cdf761e21 (diff)
parent02f5a419fdcfb3fb6c8a3e4debe7224010b40227 (diff)
downloademacs-92cf4bb8cc3da81f4877a734b9e9089ac4b89e85.tar.gz
emacs-92cf4bb8cc3da81f4877a734b9e9089ac4b89e85.zip
Merge remote-tracking branch 'savannah/master' into HEAD
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 56ea7aabb04..3088487c60c 100644
--- a/src/data.c
+++ b/src/data.c
@@ -697,8 +697,14 @@ DEFUN ("fboundp", Ffboundp, Sfboundp, 1, 1, 0,
697} 697}
698 698
699DEFUN ("makunbound", Fmakunbound, Smakunbound, 1, 1, 0, 699DEFUN ("makunbound", Fmakunbound, Smakunbound, 1, 1, 0,
700 doc: /* Make SYMBOL's value be void. 700 doc: /* Empty out the value cell of SYMBOL, making it void as a variable.
701Return SYMBOL. */) 701Return SYMBOL.
702
703If a variable is void, trying to evaluate the variable signals a
704`void-variable' error, instead of returning a value. For more
705details, see Info node `(elisp) Void Variables'.
706
707See also `fmakunbound'. */)
702 (register Lisp_Object symbol) 708 (register Lisp_Object symbol)
703{ 709{
704 CHECK_SYMBOL (symbol); 710 CHECK_SYMBOL (symbol);
@@ -709,8 +715,14 @@ Return SYMBOL. */)
709} 715}
710 716
711DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0, 717DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0,
712 doc: /* Make SYMBOL's function definition be nil. 718 doc: /* Make SYMBOL's function definition be void.
713Return SYMBOL. */) 719Return SYMBOL.
720
721If a function definition is void, trying to call a function by that
722name will cause a `void-function' error. For more details, see Info
723node `(elisp) Function Cells'.
724
725See also `makunbound'. */)
714 (register Lisp_Object symbol) 726 (register Lisp_Object symbol)
715{ 727{
716 CHECK_SYMBOL (symbol); 728 CHECK_SYMBOL (symbol);