emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 9f9e3bc: Ffunction doc string clarification


From: Lars Ingebrigtsen
Subject: master 9f9e3bc: Ffunction doc string clarification
Date: Mon, 19 Oct 2020 04:25:07 -0400 (EDT)

branch: master
commit 9f9e3bc24b1ee44b13ebb41293f6dd012ce2298e
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>

    Ffunction doc string clarification
    
    * src/eval.c (Ffunction): Mention that `function' isn't quite like
    `quote' in non-bytecompile circumstances, too (bug#41864).
---
 src/eval.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/eval.c b/src/eval.c
index 0b23905..76708e6e 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -544,7 +544,10 @@ usage: (quote ARG)  */)
 DEFUN ("function", Ffunction, Sfunction, 1, UNEVALLED, 0,
        doc: /* Like `quote', but preferred for objects which are functions.
 In byte compilation, `function' causes its argument to be handled by
-the byte compiler.  `quote' cannot do that.
+the byte compiler.  Similarly, when expanding macros and expressions,
+ARG can be examined and possibly expanded.  If `quote' is used
+instead, this doesn't happen.
+
 usage: (function ARG)  */)
   (Lisp_Object args)
 {



reply via email to

[Prev in Thread] Current Thread [Next in Thread]