From: Eli Zaretskii Date: Mon, 23 Aug 2021 11:50:24 +0000 (+0300) Subject: ; * doc/lispref/variables.texi (Local Variables): Fix indexing. X-Git-Tag: emacs-28.0.90~1344 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6430c8419c4bd007c45f7cd3abacbdcf4ad01401;p=emacs.git ; * doc/lispref/variables.texi (Local Variables): Fix indexing. --- diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 8a11154b730..3b0331847d3 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -194,7 +194,7 @@ default scoping rule in Emacs Lisp is called @dfn{dynamic scoping}, which simply states that the current binding at any given point in the execution of a program is the most recently-created binding for that variable that still exists. For details about dynamic scoping, and an -alternative scoping rule called @dfn{lexical scoping}, @xref{Variable +alternative scoping rule called @dfn{lexical scoping}, @pxref{Variable Scoping}. The special forms @code{let} and @code{let*} exist to create local @@ -286,6 +286,8 @@ being run once: @end lisp @end defspec +@cindex dynamic binding, temporarily +@cindex dynamic let-binding @defspec dlet (bindings@dots{}) forms@dots{} This special form is like @code{let}, but it binds all variables dynamically. This is rarely useful---you usually want to bind normal @@ -294,10 +296,10 @@ defined with @code{defvar}) dynamically, and this is what @code{let} does. @code{dlet} can be useful when interfacing with old code that assumes -that certain variables are dynamically bound, but it's impractical to -@code{defvar} these variables. @code{dlet} will temporarily make the -bound variables special, execute the forms, and then make the -variables non-special again. +that certain variables are dynamically bound (@pxref{Dynamic +Binding}), but it's impractical to @code{defvar} these variables. +@code{dlet} will temporarily make the bound variables special, execute +the forms, and then make the variables non-special again. @end defspec Here is a complete list of the other facilities that create local