aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorStefan Monnier2019-04-25 14:36:03 -0400
committerStefan Monnier2019-04-25 14:36:03 -0400
commite08e0880f9892fba747abdb95b1f3382ebd17e32 (patch)
treea77c6861a632026546804e6482c6a3adbdbab9bc /etc
parent0c2d921a75375e5667224bfd92b28be3b77977b3 (diff)
downloademacs-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/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index e861a372b17..788be7060af 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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
182More specifically, lexical-binding is now used for M-:, --eval, as well
183as 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
183on GUI frames when tooltips are displayed in the echo area. Instead, 187on GUI frames when tooltips are displayed in the echo area. Instead,