Variable: eshell-lexical-binding

eshell-lexical-binding is a customizable variable defined in esh-cmd.el.gz.

Value

nil

Documentation

If non-nil, use lexical binding when evaluating Eshell forms.

Probably introduced at or before Emacs version 32.1.

Source Code

;; Defined in /usr/src/emacs/lisp/eshell/esh-cmd.el.gz
(defcustom eshell-lexical-binding (eval-when-compile (default-toplevel-value 'lexical-binding))
  "If non-nil, use lexical binding when evaluating Eshell forms."
  :type 'boolean)