Variable: eshell-visual-options
eshell-visual-options is a customizable variable defined in
em-term.el.gz.
Value
nil
Documentation
An alist of commands that present their output in a visual fashion.
It has this form:
((COMMAND1 OPTION1 OPTION2...)
(COMMAND2 OPTION1 ...))
For example, a sensible entry would be
("git" "--help" "--paginate")
because "git <command> --help" shows the command's documentation with a pager and "git --paginate <command>" always uses a pager for output.
See also eshell-visual-commands and eshell-visual-subcommands.
This variable was added, or its default value changed, in Emacs 24.4.
Probably introduced at or before Emacs version 24.4.
Source Code
;; Defined in /usr/src/emacs/lisp/eshell/em-term.el.gz
(defcustom eshell-visual-options
nil
"An alist of commands that present their output in a visual fashion.
It has this form:
((COMMAND1 OPTION1 OPTION2...)
(COMMAND2 OPTION1 ...))
For example, a sensible entry would be
(\"git\" \"--help\" \"--paginate\")
because \"git <command> --help\" shows the command's
documentation with a pager and \"git --paginate <command>\"
always uses a pager for output.
See also `eshell-visual-commands' and `eshell-visual-subcommands'."
:type '(repeat (cons (string :tag "Command")
(repeat (string :tag "Option"))))
:version "24.4")