aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorXue Fuqiao2013-06-12 20:12:47 +0800
committerXue Fuqiao2013-06-12 20:12:47 +0800
commit6186a2767fcae48a43675dabc457ed2b2177b884 (patch)
tree8eb823df7cbd64d9bf9201c03cadd89fe1e441ac /lisp/eshell
parent8d0b26f65d9d4cf52a11a273073cd52fb1feaf13 (diff)
parent5f9dbd7a1241239b5376435e96fbd9dbfa65e0f5 (diff)
downloademacs-6186a2767fcae48a43675dabc457ed2b2177b884.tar.gz
emacs-6186a2767fcae48a43675dabc457ed2b2177b884.zip
Merge from mainline.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-term.el18
1 files changed, 14 insertions, 4 deletions
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el
index 1d4b2a59d4b..2932f443e4f 100644
--- a/lisp/eshell/em-term.el
+++ b/lisp/eshell/em-term.el
@@ -62,13 +62,19 @@ which commands are considered visual in nature."
62 "less" "more" ; M-x view-file 62 "less" "more" ; M-x view-file
63 "lynx" "ncftp" ; w3.el, ange-ftp 63 "lynx" "ncftp" ; w3.el, ange-ftp
64 "pine" "tin" "trn" "elm") ; GNUS!! 64 "pine" "tin" "trn" "elm") ; GNUS!!
65 "A list of commands that present their output in a visual fashion." 65 "A list of commands that present their output in a visual fashion.
66
67Commands listed here are run in a term buffer.
68
69See also `eshell-visual-subcommands' and `eshell-visual-options'."
66 :type '(repeat string) 70 :type '(repeat string)
67 :group 'eshell-term) 71 :group 'eshell-term)
68 72
69(defcustom eshell-visual-subcommands 73(defcustom eshell-visual-subcommands
70 nil 74 nil
71 "An alist of the form 75 "An alist of subcommands that present their output in a visual fashion.
76
77An alist of the form
72 78
73 ((COMMAND1 SUBCOMMAND1 SUBCOMMAND2...) 79 ((COMMAND1 SUBCOMMAND1 SUBCOMMAND2...)
74 (COMMAND2 SUBCOMMAND1 ...)) 80 (COMMAND2 SUBCOMMAND1 ...))
@@ -78,7 +84,9 @@ visual fashion. A likely entry is
78 84
79 (\"git\" \"log\" \"diff\" \"show\") 85 (\"git\" \"log\" \"diff\" \"show\")
80 86
81because git shows logs and diffs using a pager by default." 87because git shows logs and diffs using a pager by default.
88
89See also `eshell-visual-commands' and `eshell-visual-options'."
82 :type '(repeat (cons (string :tag "Command") 90 :type '(repeat (cons (string :tag "Command")
83 (repeat (string :tag "Subcommand")))) 91 (repeat (string :tag "Subcommand"))))
84 :version "24.4" 92 :version "24.4"
@@ -97,7 +105,9 @@ fashion. For example, a sensible entry would be
97 (\"git\" \"--help\") 105 (\"git\" \"--help\")
98 106
99because \"git <command> --help\" shows the command's 107because \"git <command> --help\" shows the command's
100documentation with a pager." 108documentation with a pager.
109
110See also `eshell-visual-commands' and `eshell-visual-subcommands'."
101 :type '(repeat (cons (string :tag "Command") 111 :type '(repeat (cons (string :tag "Command")
102 (repeat (string :tag "Option")))) 112 (repeat (string :tag "Option"))))
103 :version "24.4" 113 :version "24.4"