From: Eli Zaretskii Date: Sat, 19 Aug 2023 08:50:09 +0000 (+0300) Subject: Fix the documentation of 'cl-flet' X-Git-Tag: emacs-29.1.90~191 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=456ecabe9e860aaf5d4f09d1871bd7cc26b8e359;p=emacs.git Fix the documentation of 'cl-flet' * doc/misc/cl.texi (Function Bindings): Update the description. (Bug#65362) --- 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,