* variables.texi (Lexical Binding): Mention `defcustom'.
Fixes: debbugs:8459
This commit is contained in:
parent
aa4b6df690
commit
3073fc1414
1 changed files with 6 additions and 5 deletions
|
@ -1099,11 +1099,12 @@ use short names like @code{x}.
|
|||
@node Lexical Binding
|
||||
@subsection Use of Lexical Scoping
|
||||
|
||||
Emacs Lisp can be evaluated in two different modes: in dynamic binding mode or
|
||||
lexical binding mode. In dynamic binding mode, all local variables use dynamic
|
||||
scoping, whereas in lexical binding mode variables that have been declared
|
||||
@dfn{special} (i.e., declared with @code{defvar} or @code{defconst}) use
|
||||
dynamic scoping and all others use lexical scoping.
|
||||
Emacs Lisp can be evaluated in two different modes: in dynamic binding
|
||||
mode or lexical binding mode. In dynamic binding mode, all local
|
||||
variables use dynamic scoping, whereas in lexical binding mode
|
||||
variables that have been declared @dfn{special} (i.e., declared with
|
||||
@code{defvar}, @code{defcustom} or @code{defconst}) use dynamic
|
||||
scoping and all others use lexical scoping.
|
||||
|
||||
@defvar lexical-binding
|
||||
When non-nil, evaluation of Lisp code uses lexical scoping for non-special
|
||||
|
|
Loading…
Add table
Reference in a new issue