diff options
| author | Lars Magne Ingebrigtsen | 2011-07-19 17:16:58 +0200 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2011-07-19 17:16:58 +0200 |
| commit | f41628b25314bf3ab1129306a6ff414650fea915 (patch) | |
| tree | 6f5450be67bb0245d62c318519c5adf12710fbac | |
| parent | 1bfd59e52c910539dea41e86204fd86b38024239 (diff) | |
| download | emacs-f41628b25314bf3ab1129306a6ff414650fea915.tar.gz emacs-f41628b25314bf3ab1129306a6ff414650fea915.zip | |
* lread.c (syms_of_lread): Clarify when `lexical-binding' is used
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/lread.c | 7 |
2 files changed, 8 insertions, 4 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 484a4420363..ccb2d1dc907 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * lread.c (syms_of_lread): Clarify when `lexical-binding' is used | ||
| 4 | (bug#8460). | ||
| 5 | |||
| 1 | 2011-07-18 Paul Eggert <eggert@cs.ucla.edu> | 6 | 2011-07-18 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 7 | ||
| 3 | * fileio.c (Fcopy_file) [!MSDOS]: Tighten created file's mask. | 8 | * fileio.c (Fcopy_file) [!MSDOS]: Tighten created file's mask. |
diff --git a/src/lread.c b/src/lread.c index 8b46f382694..83b158d97d8 100644 --- a/src/lread.c +++ b/src/lread.c | |||
| @@ -4510,10 +4510,9 @@ to load. See also `load-dangerous-libraries'. */); | |||
| 4510 | Qlexical_binding = intern ("lexical-binding"); | 4510 | Qlexical_binding = intern ("lexical-binding"); |
| 4511 | staticpro (&Qlexical_binding); | 4511 | staticpro (&Qlexical_binding); |
| 4512 | DEFVAR_LISP ("lexical-binding", Vlexical_binding, | 4512 | DEFVAR_LISP ("lexical-binding", Vlexical_binding, |
| 4513 | doc: /* If non-nil, use lexical binding when evaluating code. | 4513 | doc: /* Whether to use lexical binding when evaluating code. |
| 4514 | This applies to code evaluated by `eval-buffer' and `eval-region' and | 4514 | Non-nil means that the code in the current buffer should be evaluated |
| 4515 | other commands that call these functions, like `eval-defun' and | 4515 | with lexical binding. |
| 4516 | the like. | ||
| 4517 | This variable is automatically set from the file variables of an | 4516 | This variable is automatically set from the file variables of an |
| 4518 | interpreted Lisp file read using `load'. */); | 4517 | interpreted Lisp file read using `load'. */); |
| 4519 | Fmake_variable_buffer_local (Qlexical_binding); | 4518 | Fmake_variable_buffer_local (Qlexical_binding); |