diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-03-13 12:32:52 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-03-13 12:32:52 +0200 |
commit | a2b07f9f11474dbcedd7cce39d2fa795bb23f692 (patch) | |
tree | f7e0db29b9a741f054b8baba6dc28f32ace7a5d3 | |
parent | b468b3d1ffa9f22a8a421b1037f7e397903913c3 (diff) | |
download | emacs-a2b07f9f11474dbcedd7cce39d2fa795bb23f692.tar.gz emacs-a2b07f9f11474dbcedd7cce39d2fa795bb23f692.tar.bz2 emacs-a2b07f9f11474dbcedd7cce39d2fa795bb23f692.zip |
; * etc/NEWS: Explain how to get back old behavior with --eval.
-rw-r--r-- | etc/NEWS | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -360,6 +360,14 @@ its '--eval' command-line option), as well as in 'lisp-interaction-mode' and 'ielm-mode', used in the "*scratch*" and "*ielm*" buffers. +We envision that most Lisp code is already either written with +lexical-binding in mind, or will work unchanged under +lexical-binding. If, for some reason, your code used in 'M-:' or +'--eval' doesn't work as result of this change, either modify the code +to work with lexical binding, or wrap it in an extra level of 'eval'. +For example, --eval FORM becomes --eval "(eval 'FORM)" (note the extra +quote in 'FORM). + --- ** The new user option 'tooltip-resize-echo-area' avoids truncating tooltip text on GUI frames when tooltips are displayed in the echo |