diff options
author | Eli Zaretskii <eliz@gnu.org> | 2023-06-26 18:41:06 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2023-06-26 18:41:06 +0300 |
commit | 162c9c058eba104b3f2b73ac29533372c08977d8 (patch) | |
tree | 03d089290491592cf3f32b1d051a3879bed00ad3 /doc/lispref | |
parent | 68028f0fa3193159e1e51cd89fc8bfcc836da23e (diff) | |
download | emacs-162c9c058eba104b3f2b73ac29533372c08977d8.tar.gz emacs-162c9c058eba104b3f2b73ac29533372c08977d8.tar.bz2 emacs-162c9c058eba104b3f2b73ac29533372c08977d8.zip |
; Document that 'named-let' needs lexical-binding
* doc/lispref/variables.texi (Local Variables): Warn that
'named-let' only works under lexical-binding. (Bug#64290)
Diffstat (limited to 'doc/lispref')
-rw-r--r-- | doc/lispref/variables.texi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 6dd935d8763..755109aac1e 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -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 |