diff options
| author | Eli Zaretskii | 2020-03-07 13:32:52 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2020-03-07 13:32:52 +0200 |
| commit | 10c58356e4e7ab1bae9b5fe1c1304e1f8dc82f83 (patch) | |
| tree | 2620b303f19a590ab7d0a996598c40a2d3762e54 /etc | |
| parent | 5cb312b5b913540ab3dcedbfef7acfc58da50c41 (diff) | |
| download | emacs-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/NEWS | 11 |
1 files changed, 7 insertions, 4 deletions
| @@ -351,10 +351,13 @@ The default value is 30000, as the previously hard-coded threshold. | |||
| 351 | answers, but also function keys like 'F1', character events such as | 351 | answers, 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 | +++ |
| 355 | More specifically, 'lexical-binding' is now used for 'M-:', '--eval', | 355 | ** Lexical binding is now used by default when evaluating interactive Elisp. |
| 356 | as well as in 'lisp-interaction-mode' and 'ielm-mode', used in the | 356 | More specifically, 'lexical-binding' is now used by default for 'M-:' |
| 357 | "*scratch*" and "*ielm*" buffers. | 357 | and '--eval' (including in evaluations invoked from 'emacsclient' via |
| 358 | its '--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 |