aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
authorXue Fuqiao2013-06-04 07:34:27 +0800
committerXue Fuqiao2013-06-04 07:34:27 +0800
commitc362f1950814689b0a6f03f0fa48b07784b90a16 (patch)
treeecb082e3fcca890b57ddc42f733808cca5e782a3 /lisp/eshell
parentd3ffe17c6f56435ebd2aca787122a3982ac5fcb2 (diff)
parentb9110c6b2f796b5147b018c3d70df9d6af657eff (diff)
downloademacs-c362f1950814689b0a6f03f0fa48b07784b90a16.tar.gz
emacs-c362f1950814689b0a6f03f0fa48b07784b90a16.zip
Merge from mainline.
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-term.el15
1 files changed, 10 insertions, 5 deletions
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el
index 7875fbc9c80..f30aad305e4 100644
--- a/lisp/eshell/em-term.el
+++ b/lisp/eshell/em-term.el
@@ -31,6 +31,7 @@
31 31
32;;; Code: 32;;; Code:
33 33
34(require 'cl-lib)
34(require 'esh-util) 35(require 'esh-util)
35(require 'esh-ext) 36(require 'esh-ext)
36(eval-when-compile (require 'eshell)) 37(eval-when-compile (require 'eshell))
@@ -79,7 +80,9 @@ visual fashion. A likely entry is
79 80
80because git shows logs and diffs using a pager by default." 81because git shows logs and diffs using a pager by default."
81 :type '(repeat (cons (string :tag "Command") 82 :type '(repeat (cons (string :tag "Command")
82 (repeat (string :tag "Subcommand"))))) 83 (repeat (string :tag "Subcommand"))))
84 :version "24.4"
85 :group 'eshell-term)
83 86
84(defcustom eshell-visual-options 87(defcustom eshell-visual-options
85 nil 88 nil
@@ -96,7 +99,9 @@ fashion. For example, a sensible entry would be
96because \"git <command> --help\" shows the command's 99because \"git <command> --help\" shows the command's
97documentation with a pager." 100documentation with a pager."
98 :type '(repeat (cons (string :tag "Command") 101 :type '(repeat (cons (string :tag "Command")
99 (repeat (string :tag "Option"))))) 102 (repeat (string :tag "Option"))))
103 :version "24.4"
104 :group 'eshell-term)
100 105
101;; If you change this from term-term-name, you need to ensure that the 106;; If you change this from term-term-name, you need to ensure that the
102;; value you choose exists in the system's terminfo database. (Bug#12485) 107;; value you choose exists in the system's terminfo database. (Bug#12485)
@@ -133,9 +138,9 @@ character to the invoked process."
133 (or (member command eshell-visual-commands) 138 (or (member command eshell-visual-commands)
134 (member (car args) 139 (member (car args)
135 (cdr (assoc command eshell-visual-subcommands))) 140 (cdr (assoc command eshell-visual-subcommands)))
136 (intersection args 141 (cl-intersection args
137 (cdr (assoc command eshell-visual-options)) 142 (cdr (assoc command eshell-visual-options))
138 :test 'string=))))) 143 :test 'string=)))))
139 'eshell-exec-visual) 144 'eshell-exec-visual)
140 eshell-interpreter-alist))) 145 eshell-interpreter-alist)))
141 146