[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 162c9c058eb: ; Document that 'named-let' needs lexical-binding
From: |
Eli Zaretskii |
Subject: |
emacs-29 162c9c058eb: ; Document that 'named-let' needs lexical-binding |
Date: |
Mon, 26 Jun 2023 11:41:37 -0400 (EDT) |
branch: emacs-29
commit 162c9c058eba104b3f2b73ac29533372c08977d8
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; Document that 'named-let' needs lexical-binding
* doc/lispref/variables.texi (Local Variables): Warn that
'named-let' only works under lexical-binding. (Bug#64290)
---
doc/lispref/variables.texi | 3 +++
1 file changed, 3 insertions(+)
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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 162c9c058eb: ; Document that 'named-let' needs lexical-binding,
Eli Zaretskii <=