diff options
| author | Michael Heerdegen | 2019-04-27 09:40:10 +0200 |
|---|---|---|
| committer | Michael Heerdegen | 2019-05-24 00:51:46 +0200 |
| commit | 84a3da15e96504cfcbaf295cfb0babca8d8700e5 (patch) | |
| tree | d36bee86f5042b63324e1ef0faa53221ac11370e /src/eval.c | |
| parent | a564d6e8bb0e5058c4c356a85a42c091436ad382 (diff) | |
| download | emacs-84a3da15e96504cfcbaf295cfb0babca8d8700e5.tar.gz emacs-84a3da15e96504cfcbaf295cfb0babca8d8700e5.zip | |
Improve documentation of the 'function' special form
Point out that 'function' quoting is beneficial also for symbols.
* src/eval.c (function): Enhance docstring.
* doc/lispref/functions.texi (Anonymous Functions): Improve
documentation.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval.c b/src/eval.c index 567c32e0d75..5bba8766373 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -544,8 +544,8 @@ usage: (quote ARG) */) | |||
| 544 | 544 | ||
| 545 | DEFUN ("function", Ffunction, Sfunction, 1, UNEVALLED, 0, | 545 | DEFUN ("function", Ffunction, Sfunction, 1, UNEVALLED, 0, |
| 546 | doc: /* Like `quote', but preferred for objects which are functions. | 546 | doc: /* Like `quote', but preferred for objects which are functions. |
| 547 | In byte compilation, `function' causes its argument to be compiled. | 547 | In byte compilation, `function' causes its argument to be handled by |
| 548 | `quote' cannot do that. | 548 | the byte compiler. `quote' cannot do that. |
| 549 | usage: (function ARG) */) | 549 | usage: (function ARG) */) |
| 550 | (Lisp_Object args) | 550 | (Lisp_Object args) |
| 551 | { | 551 | { |