From d705a86da451fa589e701b5b0400646375a0266d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 16 Feb 2026 18:23:01 +0200 Subject: [PATCH] Fix cross-reference in Emacs Lisp Intro * doc/lispintro/emacs-lisp-intro.texi (Lexical & Dynamic Binding Differences): Fix cross-reference. (Bug#80420) --- doc/lispintro/emacs-lisp-intro.texi | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) diff --git a/doc/lispintro/emacs-lisp-intro.texi b/doc/lispintro/emacs-lisp-intro.texi index eaea3617e53..72879cf5e7e 100644 --- a/doc/lispintro/emacs-lisp-intro.texi +++ b/doc/lispintro/emacs-lisp-intro.texi @@ -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