mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 07:46:51 -04:00
; Use a better method for the initial value of 'eshell-lexical-binding'
* lisp/eshell/esh-cmd.el (eshell-lexical-binding): Set to the default top-level value of 'lexical-binding'.
This commit is contained in:
parent
73599f66e1
commit
ad4a639e92
|
|
@ -126,7 +126,7 @@ There are several different kinds of commands, however."
|
|||
"If non-nil, prefer Lisp functions to external commands."
|
||||
:type 'boolean)
|
||||
|
||||
(defcustom eshell-lexical-binding lexical-binding
|
||||
(defcustom eshell-lexical-binding (eval-when-compile (default-toplevel-value 'lexical-binding))
|
||||
"If non-nil, use lexical binding when evaluating Eshell forms."
|
||||
:type 'boolean)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue