; Document that 'named-let' needs lexical-binding

* doc/lispref/variables.texi (Local Variables): Warn that
'named-let' only works under lexical-binding.  (Bug#64290)
This commit is contained in:
Eli Zaretskii 2023-06-26 18:41:06 +03:00
parent 68028f0fa3
commit 162c9c058e

View file

@ -350,6 +350,9 @@ variables.
A function call is in the tail position if it's the very last thing
done so that the value returned by the call is the value of @var{body}
itself, as is the case in the recursive call to @code{sum} above.
@strong{Warning:} @code{named-let} works as expected only when
lexical-binding is enabled. @xref{Lexical Binding}.
@end defspec
Here is a complete list of the other facilities that create local