diff options
author | Eli Zaretskii <eliz@gnu.org> | 2018-03-07 21:51:59 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2018-03-07 21:51:59 +0200 |
commit | 317da2ace54e971c788d4718874df957d3d1c549 (patch) | |
tree | 683a9cad46c50529a5dc4133cfa42b0137c5c300 /doc/lispref/variables.texi | |
parent | 61c1f80f0544b3da784f97ec2368aec809c8524b (diff) | |
download | emacs-317da2ace54e971c788d4718874df957d3d1c549.tar.gz |
Minor improvements in manuals
* doc/lispref/variables.texi (Local Variables): Make more clear
that local bindings of 'let' are in effect only within the body.
Suggested by Marcin Borkowski <mbork@mbork.pl>, see
http://lists.gnu.org/archive/html/emacs-devel/2018-03/msg00217.html
for the details.
* doc/emacs/programs.texi (Matching): Fix a typo. Reported by
Alex Branham <alex.branham@gmail.com> in emacs-manual-bugs@gnu.org.
Improve indexing.
Diffstat (limited to 'doc/lispref/variables.texi')
-rw-r--r-- | doc/lispref/variables.texi | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index e025d3fd10b..aecee6f3056 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -165,7 +165,7 @@ receive local values, which are the actual arguments supplied to the function call; these local bindings take effect within the body of the function. To take another example, the @code{let} special form explicitly establishes local bindings for specific variables, which -take effect within the body of the @code{let} form. +take effect only within the body of the @code{let} form. We also speak of the @dfn{global binding}, which is where (conceptually) the global value is kept. @@ -204,7 +204,8 @@ bindings: This special form sets up local bindings for a certain set of variables, as specified by @var{bindings}, and then evaluates all of the @var{forms} in textual order. Its return value is the value of -the last form in @var{forms}. +the last form in @var{forms}. The local bindings set up by @code{let} +will be in effect only within the body of @var{forms}. Each of the @var{bindings} is either @w{(i) a} symbol, in which case that symbol is locally bound to @code{nil}; or @w{(ii) a} list of the |