]> git.eshelyaron.com Git - emacs.git/commit
Use lexical-binding by default for M-:, --eval, and *scratch*
authorStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 Apr 2019 18:36:03 +0000 (14:36 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Thu, 25 Apr 2019 18:36:03 +0000 (14:36 -0400)
commite08e0880f9892fba747abdb95b1f3382ebd17e32
treea77c6861a632026546804e6482c6a3adbdbab9bc
parent0c2d921a75375e5667224bfd92b28be3b77977b3
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.
etc/NEWS
lisp/ielm.el
lisp/server.el
lisp/simple.el
lisp/startup.el