Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f41628b2
Commit
f41628b2
authored
Jul 19, 2011
by
Lars Magne Ingebrigtsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lread.c (syms_of_lread): Clarify when `lexical-binding' is used
parent
1bfd59e5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
src/ChangeLog
src/ChangeLog
+5
-0
src/lread.c
src/lread.c
+3
-4
No files found.
src/ChangeLog
View file @
f41628b2
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.
...
...
src/lread.c
View file @
f41628b2
...
...
@@ -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
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment