diff options
| author | Andrea Corallo | 2020-05-06 20:11:59 +0100 |
|---|---|---|
| committer | Andrea Corallo | 2020-05-06 20:11:59 +0100 |
| commit | 92cf4bb8cc3da81f4877a734b9e9089ac4b89e85 (patch) | |
| tree | 4e301ead55e89ad965205abf8cee0d136ff543ed /src/data.c | |
| parent | f8df3320b1ceffca8d5ee7cbc566ba3cdf761e21 (diff) | |
| parent | 02f5a419fdcfb3fb6c8a3e4debe7224010b40227 (diff) | |
| download | emacs-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.c | 20 |
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 | ||
| 699 | DEFUN ("makunbound", Fmakunbound, Smakunbound, 1, 1, 0, | 699 | DEFUN ("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. |
| 701 | Return SYMBOL. */) | 701 | Return SYMBOL. |
| 702 | |||
| 703 | If a variable is void, trying to evaluate the variable signals a | ||
| 704 | `void-variable' error, instead of returning a value. For more | ||
| 705 | details, see Info node `(elisp) Void Variables'. | ||
| 706 | |||
| 707 | See 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 | ||
| 711 | DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0, | 717 | DEFUN ("fmakunbound", Ffmakunbound, Sfmakunbound, 1, 1, 0, |
| 712 | doc: /* Make SYMBOL's function definition be nil. | 718 | doc: /* Make SYMBOL's function definition be void. |
| 713 | Return SYMBOL. */) | 719 | Return SYMBOL. |
| 720 | |||
| 721 | If a function definition is void, trying to call a function by that | ||
| 722 | name will cause a `void-function' error. For more details, see Info | ||
| 723 | node `(elisp) Function Cells'. | ||
| 724 | |||
| 725 | See also `makunbound'. */) | ||
| 714 | (register Lisp_Object symbol) | 726 | (register Lisp_Object symbol) |
| 715 | { | 727 | { |
| 716 | CHECK_SYMBOL (symbol); | 728 | CHECK_SYMBOL (symbol); |