aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
authorLars Ingebrigtsen2020-10-19 10:24:57 +0200
committerLars Ingebrigtsen2020-10-19 10:25:02 +0200
commit9f9e3bc24b1ee44b13ebb41293f6dd012ce2298e (patch)
tree0bf65cd33d2fcf70c5e8108b26cd87f49649e28e /src/eval.c
parent6d00233bfdf52fb3a03e8febabbfad5a331777cf (diff)
downloademacs-9f9e3bc24b1ee44b13ebb41293f6dd012ce2298e.tar.gz
emacs-9f9e3bc24b1ee44b13ebb41293f6dd012ce2298e.zip
Ffunction doc string clarification
* src/eval.c (Ffunction): Mention that `function' isn't quite like `quote' in non-bytecompile circumstances, too (bug#41864).
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index 0b23905207d..76708e6e7e2 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -544,7 +544,10 @@ usage: (quote ARG) */)
544DEFUN ("function", Ffunction, Sfunction, 1, UNEVALLED, 0, 544DEFUN ("function", Ffunction, Sfunction, 1, UNEVALLED, 0,
545 doc: /* Like `quote', but preferred for objects which are functions. 545 doc: /* Like `quote', but preferred for objects which are functions.
546In byte compilation, `function' causes its argument to be handled by 546In byte compilation, `function' causes its argument to be handled by
547the byte compiler. `quote' cannot do that. 547the byte compiler. Similarly, when expanding macros and expressions,
548ARG can be examined and possibly expanded. If `quote' is used
549instead, this doesn't happen.
550
548usage: (function ARG) */) 551usage: (function ARG) */)
549 (Lisp_Object args) 552 (Lisp_Object args)
550{ 553{