diff options
| author | Stefan Monnier | 2019-04-25 14:36:03 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2019-04-25 14:36:03 -0400 |
| commit | e08e0880f9892fba747abdb95b1f3382ebd17e32 (patch) | |
| tree | a77c6861a632026546804e6482c6a3adbdbab9bc /etc | |
| parent | 0c2d921a75375e5667224bfd92b28be3b77977b3 (diff) | |
| download | emacs-e08e0880f9892fba747abdb95b1f3382ebd17e32.tar.gz emacs-e08e0880f9892fba747abdb95b1f3382ebd17e32.zip | |
Use lexical-binding by default for M-:, --eval, and *scratch*
* lisp/startup.el (command-line): Default to lexical-binding in *scratch*.
(normal-no-mouse-startup-screen, command-line-1):
Use startup--get-buffer-create-scratch.
(command-line-1):
* lisp/simple.el (eval-expression):
* lisp/server.el (server-eval-and-print): Use lexical-binding to
evaluate the expression.
(server-execute): Use startup--get-buffer-create-scratch.
* lisp/ielm.el (inferior-emacs-lisp-mode): Default to lexical-binding.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
| @@ -178,6 +178,10 @@ The default value is 30000, as the previously hard-coded threshold. | |||
| 178 | +++ | 178 | +++ |
| 179 | ** The function 'read-passwd' uses '*' as default character to hide passwords. | 179 | ** The function 'read-passwd' uses '*' as default character to hide passwords. |
| 180 | 180 | ||
| 181 | ** Lexical binding is now used when evaluating interactive Elisp forms | ||
| 182 | More specifically, lexical-binding is now used for M-:, --eval, as well | ||
| 183 | as in the *scratch* and *ielm* buffers. | ||
| 184 | |||
| 181 | --- | 185 | --- |
| 182 | ** The new option 'tooltip-resize-echo-area' avoids truncating tooltip text | 186 | ** The new option 'tooltip-resize-echo-area' avoids truncating tooltip text |
| 183 | on GUI frames when tooltips are displayed in the echo area. Instead, | 187 | on GUI frames when tooltips are displayed in the echo area. Instead, |