diff options
author | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-15 14:45:51 +0200 |
---|---|---|
committer | Lars Magne Ingebrigtsen <larsi@gnus.org> | 2011-07-15 14:45:51 +0200 |
commit | b8518b7b64c9c142308b0d17d5fad149dcce835c (patch) | |
tree | 06960318005d010cb4e4936ce2085cbd4d931482 /doc | |
parent | 8960b24c059fb8ea76461f09b1bd64f53268eb45 (diff) | |
download | emacs-b8518b7b64c9c142308b0d17d5fad149dcce835c.tar.gz |
* variables.texi (Lexical Binding): Mention `defcustom'.
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 3da09369882..091765043e3 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 |