emacs-diffs
[Top][All Lists]
Advanced

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

master 1254d9a3ae: * doc/lispref/functions.texi (Declare Form) <compiler


From: Stefan Monnier
Subject: master 1254d9a3ae: * doc/lispref/functions.texi (Declare Form) <compiler-macro>: Rephrase
Date: Wed, 28 Sep 2022 12:29:00 -0400 (EDT)

branch: master
commit 1254d9a3ae89697b591343de2ddf55c5879bc937
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * doc/lispref/functions.texi (Declare Form) <compiler-macro>: Rephrase
    
    See bug#57397.
---
 doc/lispref/functions.texi | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index 983dfe2ec5..0659d3556b 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -2476,11 +2476,11 @@ function, of the form @code{(@var{function} 
@var{args}@dots{})}, the macro
 expander will call @var{expander} with that form as well as with
 @var{args}@dots{}, and @var{expander} can either return a new expression to use
 instead of the function call, or it can return just the form unchanged,
-to indicate that the function call should be left alone.  @var{expander} can
-be a symbol, or it can be a form @code{(lambda (@var{arg}) @var{body})} in
-which case @var{arg} will hold the original function call expression, and the
-(unevaluated) arguments to the function can be accessed using the function's
-formal arguments.
+to indicate that the function call should be left alone.
+
+When @var{expander} is a lambda form it should be of the form
+@code{(lambda (@var{arg}) @var{body})} because the function's formal
+arguments are automatically added to the lambda's list of arguments.
 
 @item (gv-expander @var{expander})
 Declare @var{expander} to be the function to handle calls to the macro (or



reply via email to

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