mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
; * doc/lispref/variables.texi (Selecting Lisp Dialect): Improve indexing.
This commit is contained in:
parent
e4dc8ddea9
commit
ca0a913a73
|
|
@ -1311,6 +1311,7 @@ other such variables, this one must be set in the first line of a
|
|||
file.
|
||||
@end defvar
|
||||
|
||||
@cindex lexical-binding cookie
|
||||
@noindent
|
||||
In practice, dialect selection means that the first line in an Emacs
|
||||
Lisp file looks like:
|
||||
|
|
@ -1327,9 +1328,10 @@ for the modern lexical-binding dialect, and
|
|||
@end example
|
||||
|
||||
@noindent
|
||||
for the old dynamic-only dialect. When no declaration is present the
|
||||
old dialect is used, but this may change in a future release.
|
||||
The compiler will warn if no declaration is present.
|
||||
for the old dynamic-only dialect. (This is known as the
|
||||
@dfn{lexical-binding cookie}.) When no declaration is present the old
|
||||
dialect is used, but this may change in a future release. The compiler
|
||||
will warn if no declaration is present.
|
||||
|
||||
When evaluating Emacs Lisp code directly using an @code{eval} call,
|
||||
lexical binding is enabled if the @var{lexical} argument to
|
||||
|
|
|
|||
Loading…
Reference in a new issue