[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r105225: `lexical-binding' doc clarif
From: |
Lars Magne Ingebrigtsen |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r105225: `lexical-binding' doc clarification |
Date: |
Fri, 15 Jul 2011 14:57:20 +0200 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 105225
fixes bug(s): http://debbugs.gnu.org/8460
committer: Lars Magne Ingebrigtsen <address@hidden>
branch nick: trunk
timestamp: Fri 2011-07-15 14:57:20 +0200
message:
`lexical-binding' doc clarification
* lread.c (syms_of_lread): Clarify that is isn't only
`eval-buffer' and `eval-defun' that's affected by
`lexical-binding'.
modified:
src/ChangeLog
src/lread.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2011-07-15 10:50:03 +0000
+++ b/src/ChangeLog 2011-07-15 12:57:20 +0000
@@ -1,3 +1,9 @@
+2011-07-15 Lars Magne Ingebrigtsen <address@hidden>
+
+ * lread.c (syms_of_lread): Clarify that is isn't only
+ `eval-buffer' and `eval-defun' that's affected by
+ `lexical-binding' (bug#8460).
+
2011-07-15 Eli Zaretskii <address@hidden>
* xdisp.c (move_it_in_display_line_to): Fix vertical motion with
=== modified file 'src/lread.c'
--- a/src/lread.c 2011-07-10 08:20:10 +0000
+++ b/src/lread.c 2011-07-15 12:57:20 +0000
@@ -4510,9 +4510,11 @@
staticpro (&Qlexical_binding);
DEFVAR_LISP ("lexical-binding", Vlexical_binding,
doc: /* If non-nil, use lexical binding when evaluating code.
-This only applies to code evaluated by `eval-buffer' and `eval-region'.
-This variable is automatically set from the file variables of an interpreted
- Lisp file read using `load'. */);
+This applies to code evaluated by `eval-buffer' and `eval-region' and
+other commands that call these functions, like `eval-defun' and
+the like.
+This variable is automatically set from the file variables of an
+interpreted Lisp file read using `load'. */);
Fmake_variable_buffer_local (Qlexical_binding);
DEFVAR_LISP ("eval-buffer-list", Veval_buffer_list,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r105225: `lexical-binding' doc clarification,
Lars Magne Ingebrigtsen <=