diff options
author | Lars Magne Ingebrigtsen <[email protected]> | 2011-07-15 14:45:51 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <[email protected]> | 2011-07-15 14:45:51 +0200 |
commit | 3073fc1414139dfa3c9f179242fae3ddcfbf7b5f (patch) | |
tree | 0da6fc2b5312c93f30aa663aa956508f4c24aae1 /doc | |
parent | aa4b6df6901fc736db6165f379857f448abbe711 (diff) |
* variables.texi (Lexical Binding): Mention `defcustom'.
Fixes: debbugs:8459
Diffstat (limited to 'doc')
-rw-r--r-- | doc/lispref/variables.texi | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 3da0936988..091765043e 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -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 |