aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/eshell')
-rw-r--r--lisp/eshell/em-term.el5
-rw-r--r--lisp/eshell/esh-cmd.el7
-rw-r--r--lisp/eshell/esh-util.el4
-rw-r--r--lisp/eshell/eshell.el6
4 files changed, 11 insertions, 11 deletions
diff --git a/lisp/eshell/em-term.el b/lisp/eshell/em-term.el
index 37fa939cc10..ef59f6d1d35 100644
--- a/lisp/eshell/em-term.el
+++ b/lisp/eshell/em-term.el
@@ -63,10 +63,13 @@ which commands are considered visual in nature."
63 :type '(repeat string) 63 :type '(repeat string)
64 :group 'eshell-term) 64 :group 'eshell-term)
65 65
66(defcustom eshell-term-name "eterm" 66;; If you change this from term-term-name, you need to ensure that the
67;; value you choose exists in the system's terminfo database. (Bug#12485)
68(defcustom eshell-term-name term-term-name
67 "Name to use for the TERM variable when running visual commands. 69 "Name to use for the TERM variable when running visual commands.
68See `term-term-name' in term.el for more information on how this is 70See `term-term-name' in term.el for more information on how this is
69used." 71used."
72 :version "24.3" ; eterm -> term-term-name = eterm-color
70 :type 'string 73 :type 'string
71 :group 'eshell-term) 74 :group 'eshell-term)
72 75
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el
index 515a23f81d7..5a10721387b 100644
--- a/lisp/eshell/esh-cmd.el
+++ b/lisp/eshell/esh-cmd.el
@@ -1216,11 +1216,12 @@ COMMAND may result in an alias being executed, or a plain command."
1216 (let* ((sym (intern-soft (concat "eshell/" name))) 1216 (let* ((sym (intern-soft (concat "eshell/" name)))
1217 (file (symbol-file sym 'defun))) 1217 (file (symbol-file sym 'defun)))
1218 ;; If the function exists, but is defined in an eshell module 1218 ;; If the function exists, but is defined in an eshell module
1219 ;; that's not currently enabled, don't report it as found 1219 ;; that's not currently enabled, don't report it as found.
1220 (if (and file 1220 (if (and file
1221 (string-match "\\(em\\|esh\\)-\\(.*\\)\\(\\.el\\)?\\'" file)) 1221 (setq file (file-name-base file))
1222 (string-match "\\`\\(em\\|esh\\)-\\([[:alnum:]]+\\)\\'" file))
1222 (let ((module-sym 1223 (let ((module-sym
1223 (intern (file-name-base (concat "eshell-" (match-string 2 file)))))) 1224 (intern (concat "eshell-" (match-string 2 file)))))
1224 (if (and (functionp sym) 1225 (if (and (functionp sym)
1225 (or (null module-sym) 1226 (or (null module-sym)
1226 (eshell-using-module module-sym) 1227 (eshell-using-module module-sym)
diff --git a/lisp/eshell/esh-util.el b/lisp/eshell/esh-util.el
index fa0336232f9..01df5fced62 100644
--- a/lisp/eshell/esh-util.el
+++ b/lisp/eshell/esh-util.el
@@ -275,6 +275,7 @@ Prepend remote identification of `default-directory', if any."
275 275
276(defmacro eshell-for (for-var for-list &rest forms) 276(defmacro eshell-for (for-var for-list &rest forms)
277 "Iterate through a list." 277 "Iterate through a list."
278 (declare (obsolete dolist "24.1"))
278 (declare (indent 2)) 279 (declare (indent 2))
279 `(let ((list-iter ,for-list)) 280 `(let ((list-iter ,for-list))
280 (while list-iter 281 (while list-iter
@@ -282,9 +283,6 @@ Prepend remote identification of `default-directory', if any."
282 ,@forms) 283 ,@forms)
283 (setq list-iter (cdr list-iter))))) 284 (setq list-iter (cdr list-iter)))))
284 285
285
286(make-obsolete 'eshell-for 'dolist "24.1")
287
288(defun eshell-flatten-list (args) 286(defun eshell-flatten-list (args)
289 "Flatten any lists within ARGS, so that there are no sublists." 287 "Flatten any lists within ARGS, so that there are no sublists."
290 (let ((new-list (list t))) 288 (let ((new-list (list t)))
diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el
index c663de3f40d..a9a854221a4 100644
--- a/lisp/eshell/eshell.el
+++ b/lisp/eshell/eshell.el
@@ -243,16 +243,14 @@ shells such as bash, zsh, rc, 4dos."
243 243
244(defun eshell-add-to-window-buffer-names () 244(defun eshell-add-to-window-buffer-names ()
245 "Add `eshell-buffer-name' to `same-window-buffer-names'." 245 "Add `eshell-buffer-name' to `same-window-buffer-names'."
246 (declare (obsolete nil "24.3"))
246 (add-to-list 'same-window-buffer-names eshell-buffer-name)) 247 (add-to-list 'same-window-buffer-names eshell-buffer-name))
247(make-obsolete 'eshell-add-to-window-buffer-names
248 "no longer needed." "24.3")
249 248
250(defun eshell-remove-from-window-buffer-names () 249(defun eshell-remove-from-window-buffer-names ()
251 "Remove `eshell-buffer-name' from `same-window-buffer-names'." 250 "Remove `eshell-buffer-name' from `same-window-buffer-names'."
251 (declare (obsolete nil "24.3"))
252 (setq same-window-buffer-names 252 (setq same-window-buffer-names
253 (delete eshell-buffer-name same-window-buffer-names))) 253 (delete eshell-buffer-name same-window-buffer-names)))
254(make-obsolete 'eshell-remove-from-window-buffer-names
255 "no longer needed." "24.3")
256 254
257(defcustom eshell-load-hook nil 255(defcustom eshell-load-hook nil
258 "A hook run once Eshell has been loaded." 256 "A hook run once Eshell has been loaded."