[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master b6a163ba7c: * doc/lispref/functions.texi (Declare Form) <compiler
From: |
Stefan Monnier |
Subject: |
master b6a163ba7c: * doc/lispref/functions.texi (Declare Form) <compiler-macro>: Re-rephrase |
Date: |
Wed, 28 Sep 2022 14:14:35 -0400 (EDT) |
branch: master
commit b6a163ba7cdf57eff5542b4cb6956780ebb2880f
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>
* doc/lispref/functions.texi (Declare Form) <compiler-macro>: Re-rephrase
---
doc/lispref/functions.texi | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/doc/lispref/functions.texi b/doc/lispref/functions.texi
index 0659d3556b..8b858e0aa0 100644
--- a/doc/lispref/functions.texi
+++ b/doc/lispref/functions.texi
@@ -2478,9 +2478,10 @@ expander will call @var{expander} with that form as well
as with
instead of the function call, or it can return just the form unchanged,
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.
+When @var{expander} is a lambda form it should be written with
+a single argument (i.e., 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 for you.
@item (gv-expander @var{expander})
Declare @var{expander} to be the function to handle calls to the macro (or
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master b6a163ba7c: * doc/lispref/functions.texi (Declare Form) <compiler-macro>: Re-rephrase,
Stefan Monnier <=