summaryrefslogtreecommitdiff
path: root/doc/lispref/variables.texi
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2018-03-07 21:51:59 +0200
committerEli Zaretskii <eliz@gnu.org>2018-03-07 21:51:59 +0200
commit317da2ace54e971c788d4718874df957d3d1c549 (patch)
tree683a9cad46c50529a5dc4133cfa42b0137c5c300 /doc/lispref/variables.texi
parent61c1f80f0544b3da784f97ec2368aec809c8524b (diff)
downloademacs-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.texi5
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