diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-09-28 12:28:30 -0400 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2022-09-28 12:28:57 -0400 |
commit | 1254d9a3ae89697b591343de2ddf55c5879bc937 (patch) | |
tree | 10b88c987da7a5cccdc842f9c8c1e1008d890bc2 /doc/lispref/functions.texi | |
parent | ab5b1cf88ebe58544fb0aa7624816f944dd5e5cd (diff) | |
download | emacs-1254d9a3ae89697b591343de2ddf55c5879bc937.tar.gz |
* doc/lispref/functions.texi (Declare Form) <compiler-macro>: Rephrase
See bug#57397.
Diffstat (limited to 'doc/lispref/functions.texi')
-rw-r--r-- | doc/lispref/functions.texi | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi index 983dfe2ec59..0659d3556bb 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 |