diff options
| author | Eli Zaretskii | 2020-04-13 11:53:47 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2020-04-13 11:53:47 +0300 |
| commit | 1dfc497fac22c199a944ef64233266bd6cd2fee6 (patch) | |
| tree | 6cbfb466d8f36305d8132f811f5a4e4dd4b78af2 /doc | |
| parent | ff09b4eeac7703ed60acc8c8635a5baf7a6fda34 (diff) | |
| download | emacs-1dfc497fac22c199a944ef64233266bd6cd2fee6.tar.gz emacs-1dfc497fac22c199a944ef64233266bd6cd2fee6.zip | |
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)
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispintro/emacs-lisp-intro.texi | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index 9e23f055f53..bd688070a3a 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 | |||
| 3667 | only affects expressions that are inside the bounds of the @code{let} | 3667 | only affects expressions that are inside the bounds of the @code{let} |
| 3668 | expression. In computer science jargon, we would say the binding of | 3668 | expression. In computer science jargon, we would say the binding of |
| 3669 | a symbol is visible only in functions called in the @code{let} form; | 3669 | a symbol is visible only in functions called in the @code{let} form; |
| 3670 | in Emacs Lisp, scoping is dynamic, not lexical. | 3670 | in Emacs Lisp, the default scoping is dynamic, not lexical. (The |
| 3671 | non-default lexical binding is not discussed in this manual.) | ||
| 3671 | 3672 | ||
| 3672 | @code{let} can create more than one variable at once. Also, | 3673 | @code{let} can create more than one variable at once. Also, |
| 3673 | @code{let} gives each variable it creates an initial value, either a | 3674 | @code{let} gives each variable it creates an initial value, either a |