mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-06-14 04:21:24 +00:00
Fix cross-reference in Emacs Lisp Intro
* doc/lispintro/emacs-lisp-intro.texi (Lexical & Dynamic Binding Differences): Fix cross-reference. (Bug#80420)
This commit is contained in:
parent
3896b1d4c0
commit
d705a86da4
1 changed files with 15 additions and 9 deletions
|
|
@ -3785,15 +3785,21 @@ elisp, The Emacs Lisp Reference Manual}.
|
|||
|
||||
@cindex Lexical binding
|
||||
@cindex Binding, lexical
|
||||
As we discussed before (@pxref{Prevent confusion}), when you create
|
||||
local variables with @code{let} under lexical binding, those variables
|
||||
are valid only within the body of the @code{let} expression. In other
|
||||
parts of your code, they have other meanings, so if you call a
|
||||
function defined elsewhere within the @code{let} body, that function
|
||||
would be unable to ``see'' the local variables you've created. (On
|
||||
the other hand, if you call a function that was defined within a
|
||||
@code{let} body, that function @emph{would} be able to see---and
|
||||
modify---the local variables from that @code{let} expression.)
|
||||
As we discussed before
|
||||
@iftex
|
||||
(@pxref{Permanent Installation}),
|
||||
@end iftex
|
||||
@ifnottex
|
||||
(@pxref{Prevent confusion}),
|
||||
@end ifnottex
|
||||
when you create local variables with @code{let} under lexical binding,
|
||||
those variables are valid only within the body of the @code{let}
|
||||
expression. In other parts of your code, they have other meanings, so
|
||||
if you call a function defined elsewhere within the @code{let} body,
|
||||
that function would be unable to ``see'' the local variables you've
|
||||
created. (On the other hand, if you call a function that was defined
|
||||
within a @code{let} body, that function @emph{would} be able to
|
||||
see---and modify---the local variables from that @code{let} expression.)
|
||||
|
||||
@cindex Dynamic binding
|
||||
@cindex Binding, dynamic
|
||||
|
|
|
|||
Loading…
Reference in a new issue