[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-27 1dfc497: Minor wording change in Introduction to Programming in
From: |
Eli Zaretskii |
Subject: |
emacs-27 1dfc497: Minor wording change in Introduction to Programming in Emacs Lisp |
Date: |
Mon, 13 Apr 2020 04:55:13 -0400 (EDT) |
branch: emacs-27
commit 1dfc497fac22c199a944ef64233266bd6cd2fee6
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>
Minor wording change in Introduction to Programming in Emacs Lisp
* doc/lispintro/emacs-lisp-intro.texi (Prevent confusion): Mention
that dynamic scoping is only the default in Emacs Lisp, not the
only scoping rule. (Bug#40594)
---
doc/lispintro/emacs-lisp-intro.texi | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/doc/lispintro/emacs-lisp-intro.texi
b/doc/lispintro/emacs-lisp-intro.texi
index 9e23f05..bd68807 100644
--- a/doc/lispintro/emacs-lisp-intro.texi
+++ b/doc/lispintro/emacs-lisp-intro.texi
@@ -3667,7 +3667,8 @@ automatically undone when the @code{let} is finished.
The setting
only affects expressions that are inside the bounds of the @code{let}
expression. In computer science jargon, we would say the binding of
a symbol is visible only in functions called in the @code{let} form;
-in Emacs Lisp, scoping is dynamic, not lexical.
+in Emacs Lisp, the default scoping is dynamic, not lexical. (The
+non-default lexical binding is not discussed in this manual.)
@code{let} can create more than one variable at once. Also,
@code{let} gives each variable it creates an initial value, either a
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-27 1dfc497: Minor wording change in Introduction to Programming in Emacs Lisp,
Eli Zaretskii <=