Variable: eshell-non-interactive-p
eshell-non-interactive-p is a variable defined in esh-mode.el.gz.
Value
nil
Documentation
A variable which is non-nil when Eshell is not running interactively.
Modules should use this variable so that they don't clutter
non-interactive sessions, such as when using eshell-command.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/esh-mode.el.gz
(defvar eshell-non-interactive-p nil
"A variable which is non-nil when Eshell is not running interactively.
Modules should use this variable so that they don't clutter
non-interactive sessions, such as when using `eshell-command'.")