From 3073fc1414139dfa3c9f179242fae3ddcfbf7b5f Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Fri, 15 Jul 2011 14:45:51 +0200 Subject: [PATCH] * variables.texi (Lexical Binding): Mention `defcustom'. Fixes: debbugs:8459 --- doc/lispref/variables.texi | 11 ++++++----- 1 file 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 -- 2.39.2