From 456ecabe9e860aaf5d4f09d1871bd7cc26b8e359 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 19 Aug 2023 11:50:09 +0300 Subject: [PATCH] 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, -- 2.39.5