]> git.eshelyaron.com Git - emacs.git/commitdiff
* lread.c (syms_of_lread): Clarify when `lexical-binding' is used
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 19 Jul 2011 15:16:58 +0000 (17:16 +0200)
committerLars Magne Ingebrigtsen <larsi@gnus.org>
Tue, 19 Jul 2011 15:16:58 +0000 (17:16 +0200)
src/ChangeLog
src/lread.c

index 484a4420363e8ae21c35007f757974f46e3e8dfc..ccb2d1dc9071f7d6dba02aee0b413163de04c664 100644 (file)
@@ -1,3 +1,8 @@
+2011-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * lread.c (syms_of_lread): Clarify when `lexical-binding' is used
+       (bug#8460).
+
 2011-07-18  Paul Eggert  <eggert@cs.ucla.edu>
 
        * fileio.c (Fcopy_file) [!MSDOS]: Tighten created file's mask.
index 8b46f382694635aa0cc23db58ec2aef2525a61c5..83b158d97d82b6e79129f6c1509666f8d279b984 100644 (file)
@@ -4510,10 +4510,9 @@ to load.  See also `load-dangerous-libraries'.  */);
   Qlexical_binding = intern ("lexical-binding");
   staticpro (&Qlexical_binding);
   DEFVAR_LISP ("lexical-binding", Vlexical_binding,
-              doc: /* If non-nil, use lexical binding when evaluating code.
-This applies to code evaluated by `eval-buffer' and `eval-region' and
-other commands that call these functions, like `eval-defun' and
-the like.
+              doc: /* Whether to use lexical binding when evaluating code.
+Non-nil means that the code in the current buffer should be evaluated
+with lexical binding.
 This variable is automatically set from the file variables of an
 interpreted Lisp file read using `load'.  */);
   Fmake_variable_buffer_local (Qlexical_binding);