aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorEli Zaretskii2020-03-07 13:32:52 +0200
committerEli Zaretskii2020-03-07 13:32:52 +0200
commit10c58356e4e7ab1bae9b5fe1c1304e1f8dc82f83 (patch)
tree2620b303f19a590ab7d0a996598c40a2d3762e54 /etc
parent5cb312b5b913540ab3dcedbfef7acfc58da50c41 (diff)
downloademacs-10c58356e4e7ab1bae9b5fe1c1304e1f8dc82f83.tar.gz
emacs-10c58356e4e7ab1bae9b5fe1c1304e1f8dc82f83.zip
Document changes in lexical-binding
* doc/lispref/variables.texi (Using Lexical Binding): Document that lexical-binding is now turned on by default in more cases. * etc/NEWS: Fix wording of the NEWS entry about the above, and mark it as fully documented.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS11
1 files changed, 7 insertions, 4 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 3332143dc23..2d719fb7a5b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -351,10 +351,13 @@ The default value is 30000, as the previously hard-coded threshold.
351answers, but also function keys like 'F1', character events such as 351answers, but also function keys like 'F1', character events such as
352'C-M-h', and control characters like 'C-h'. 352'C-M-h', and control characters like 'C-h'.
353 353
354** Lexical binding is now used when evaluating interactive Elisp forms. 354+++
355More specifically, 'lexical-binding' is now used for 'M-:', '--eval', 355** Lexical binding is now used by default when evaluating interactive Elisp.
356as well as in 'lisp-interaction-mode' and 'ielm-mode', used in the 356More specifically, 'lexical-binding' is now used by default for 'M-:'
357"*scratch*" and "*ielm*" buffers. 357and '--eval' (including in evaluations invoked from 'emacsclient' via
358its '--eval' command-line option), as well as in
359'lisp-interaction-mode' and 'ielm-mode', used in the "*scratch*" and
360"*ielm*" buffers.
358 361
359--- 362---
360** The new user option 'tooltip-resize-echo-area' avoids truncating 363** The new user option 'tooltip-resize-echo-area' avoids truncating