[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 456ecabe9e8: Fix the documentation of 'cl-flet'
From: |
Eli Zaretskii |
Subject: |
emacs-29 456ecabe9e8: Fix the documentation of 'cl-flet' |
Date: |
Sat, 19 Aug 2023 04:50:29 -0400 (EDT) |
branch: emacs-29
commit 456ecabe9e860aaf5d4f09d1871bd7cc26b8e359
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
Fix the documentation of 'cl-flet'
* doc/misc/cl.texi (Function Bindings): Update the description.
(Bug#65362)
---
doc/misc/cl.texi | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
diff --git a/doc/misc/cl.texi b/doc/misc/cl.texi
index 0284554ed9e..5de33350f4f 100644
--- a/doc/misc/cl.texi
+++ b/doc/misc/cl.texi
@@ -1238,10 +1238,15 @@ of variables.
@defmac cl-flet (bindings@dots{}) forms@dots{}
This form establishes @code{let}-style bindings for functions rather
-than values. Each @var{binding} must be a list of the form
-@samp{(@var{name} @var{arglist} @var{body}@dots{})}. Within
-@var{forms}, any reference to the function @var{name} uses the local
-definition instead of the global one.
+than values. Each @var{binding} must be a list of one of two forms:
+either @w{@code{(@var{name} @var{expr})}} or @w{@code{(@var{name}
+@var{arglist} @var{body}@dots{})}}. The @var{name} is the name of the
+function, @var{expr} is an expression which returns the function value
+to which the corresponding @var{name} should be bound, and
+@var{arglist} and @var{body} are the argument list and the body of the
+function to bind to @var{name}. Within @var{forms}, any reference to
+the function @var{name} uses the local definition provided by
+@var{bindings} instead of the global one.
A ``reference'' to a function name is either a call to that function,
or a use of its name quoted by @code{function} to be passed on to,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 456ecabe9e8: Fix the documentation of 'cl-flet',
Eli Zaretskii <=