diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-03-07 13:32:52 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2020-03-07 13:32:52 +0200 |
commit | 10c58356e4e7ab1bae9b5fe1c1304e1f8dc82f83 (patch) | |
tree | 2620b303f19a590ab7d0a996598c40a2d3762e54 /doc/lispref/variables.texi | |
parent | 5cb312b5b913540ab3dcedbfef7acfc58da50c41 (diff) | |
download | emacs-10c58356e4e7ab1bae9b5fe1c1304e1f8dc82f83.tar.gz emacs-10c58356e4e7ab1bae9b5fe1c1304e1f8dc82f83.tar.bz2 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 'doc/lispref/variables.texi')
-rw-r--r-- | doc/lispref/variables.texi | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 33897bb6336..abcd4bbd0f7 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -1187,8 +1187,14 @@ When evaluating Emacs Lisp code directly using an @code{eval} call, lexical binding is enabled if the @var{lexical} argument to @code{eval} is non-@code{nil}. @xref{Eval}. -Lexical binding is also enabled in Lisp Interaction and IELM -mode, used in the @file{*scratch*} and @file{*ielm*} buffers. +@findex eval-expression@r{, and }lexical-binding +Lexical binding is also enabled in Lisp Interaction and IELM mode, +used in the @file{*scratch*} and @file{*ielm*} buffers, and also when +evaluating expressions via @kbd{M-:} (@code{eval-expression}) and when +processing the @option{--eval} command-line options of Emacs +(@pxref{Action Arguments,,, emacs, The GNU Emacs Manual}) and +@command{emacsclient} (@pxref{emacsclient Options,,, emacs, The GNU +Emacs Manual}). @cindex special variables Even when lexical binding is enabled, certain variables will |