aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGlenn Morris2012-01-25 22:30:49 -0800
committerGlenn Morris2012-01-25 22:30:49 -0800
commit48da73922734c056f48ed3cd675a97369ac025ea (patch)
treed3a266c269057b18509c542e134025e50c99f2ed /src
parente43273eff03ad9e6c7564057b35a5bf6810935f2 (diff)
downloademacs-48da73922734c056f48ed3cd675a97369ac025ea.tar.gz
emacs-48da73922734c056f48ed3cd675a97369ac025ea.zip
Doc fix for lexical-binding being in line one.
Ref http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00543.html * doc/lispref/variables.texi (Using Lexical Binding): Mention that lexical-binding should be set in the first line. * src/lread.c (syms_of_lread): Doc fix. * lisp/emacs-lisp/tabulated-list.el, lisp/progmodes/f90.el: Move lexical-binding file-local to line one. * etc/NEWS: lexical-binding should be ine the first line.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog4
-rw-r--r--src/lread.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index cc149458e02..9d37a04da2c 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12012-01-26 Glenn Morris <rgm@gnu.org>
2
3 * lread.c (syms_of_lread): Doc fix.
4
12012-01-25 HIROSHI OOTA <nil@mad.dog.cx> (tiny change) 52012-01-25 HIROSHI OOTA <nil@mad.dog.cx> (tiny change)
2 6
3 * coding.c (encode_designation_at_bol): Change return value to 7 * coding.c (encode_designation_at_bol): Change return value to
diff --git a/src/lread.c b/src/lread.c
index 23cda8eed6d..353f4a3064d 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -4595,7 +4595,8 @@ to load. See also `load-dangerous-libraries'. */);
4595Non-nil means that the code in the current buffer should be evaluated 4595Non-nil means that the code in the current buffer should be evaluated
4596with lexical binding. 4596with lexical binding.
4597This variable is automatically set from the file variables of an 4597This variable is automatically set from the file variables of an
4598interpreted Lisp file read using `load'. */); 4598interpreted Lisp file read using `load'. Unlike other file local
4599variables, this must be set in the first line of a file. */);
4599 Fmake_variable_buffer_local (Qlexical_binding); 4600 Fmake_variable_buffer_local (Qlexical_binding);
4600 4601
4601 DEFVAR_LISP ("eval-buffer-list", Veval_buffer_list, 4602 DEFVAR_LISP ("eval-buffer-list", Veval_buffer_list,