diff options
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/eval.c b/src/eval.c index 6fde7e30b7f..77d435acbe6 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -517,7 +517,7 @@ DEFUN ("quote", Fquote, Squote, 1, UNEVALLED, 0, | |||
| 517 | Warning: `quote' does not construct its return value, but just returns | 517 | Warning: `quote' does not construct its return value, but just returns |
| 518 | the value that was pre-constructed by the Lisp reader (see info node | 518 | the value that was pre-constructed by the Lisp reader (see info node |
| 519 | `(elisp)Printed Representation'). | 519 | `(elisp)Printed Representation'). |
| 520 | This means that '(a . b) is not identical to (cons 'a 'b): the former | 520 | This means that \\='(a . b) is not identical to (cons \\='a \\='b): the former |
| 521 | does not cons. Quoting should be reserved for constants that will | 521 | does not cons. Quoting should be reserved for constants that will |
| 522 | never be modified by side-effects, unless you like self-modifying code. | 522 | never be modified by side-effects, unless you like self-modifying code. |
| 523 | See the common pitfall in info node `(elisp)Rearrangement' for an example | 523 | See the common pitfall in info node `(elisp)Rearrangement' for an example |
| @@ -2196,7 +2196,7 @@ eval_sub (Lisp_Object form) | |||
| 2196 | DEFUN ("apply", Fapply, Sapply, 1, MANY, 0, | 2196 | DEFUN ("apply", Fapply, Sapply, 1, MANY, 0, |
| 2197 | doc: /* Call FUNCTION with our remaining args, using our last arg as list of args. | 2197 | doc: /* Call FUNCTION with our remaining args, using our last arg as list of args. |
| 2198 | Then return the value FUNCTION returns. | 2198 | Then return the value FUNCTION returns. |
| 2199 | Thus, (apply '+ 1 2 '(3 4)) returns 10. | 2199 | Thus, (apply \\='+ 1 2 \\='(3 4)) returns 10. |
| 2200 | usage: (apply FUNCTION &rest ARGUMENTS) */) | 2200 | usage: (apply FUNCTION &rest ARGUMENTS) */) |
| 2201 | (ptrdiff_t nargs, Lisp_Object *args) | 2201 | (ptrdiff_t nargs, Lisp_Object *args) |
| 2202 | { | 2202 | { |
| @@ -2557,7 +2557,7 @@ DEFUN ("functionp", Ffunctionp, Sfunctionp, 1, 1, 0, | |||
| 2557 | DEFUN ("funcall", Ffuncall, Sfuncall, 1, MANY, 0, | 2557 | DEFUN ("funcall", Ffuncall, Sfuncall, 1, MANY, 0, |
| 2558 | doc: /* Call first argument as a function, passing remaining arguments to it. | 2558 | doc: /* Call first argument as a function, passing remaining arguments to it. |
| 2559 | Return the value that function returns. | 2559 | Return the value that function returns. |
| 2560 | Thus, (funcall 'cons 'x 'y) returns (x . y). | 2560 | Thus, (funcall \\='cons \\='x \\='y) returns (x . y). |
| 2561 | usage: (funcall FUNCTION &rest ARGUMENTS) */) | 2561 | usage: (funcall FUNCTION &rest ARGUMENTS) */) |
| 2562 | (ptrdiff_t nargs, Lisp_Object *args) | 2562 | (ptrdiff_t nargs, Lisp_Object *args) |
| 2563 | { | 2563 | { |