aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/eshell/eshell.el
diff options
context:
space:
mode:
authorGlenn Morris2011-03-04 19:53:41 -0800
committerGlenn Morris2011-03-04 19:53:41 -0800
commita9eeff78d5bdcb9e03055376705e8f31fe145b79 (patch)
treed1324a268a41de5545d6d4f16fc89ab223e341e3 /lisp/eshell/eshell.el
parent85a55d3871ce4efbde1666bd48b4fca1c638ee99 (diff)
downloademacs-a9eeff78d5bdcb9e03055376705e8f31fe145b79.tar.gz
emacs-a9eeff78d5bdcb9e03055376705e8f31fe145b79.zip
Make eshell-for obsolete (replaced by dolist)
* eshell/esh-util.el (eshell-for): Make it obsolete. * eshell/em-alias.el (eshell/alias, eshell-alias-completions): * eshell/em-dirs.el (eshell-save-some-last-dir): * eshell/em-hist.el (eshell-save-some-history, eshell-hist-parse-modifier): * eshell/em-ls.el (eshell-ls-dir, eshell-ls-files, eshell-ls-entries): * eshell/em-unix.el (eshell/cat, eshell/du, eshell/su): * eshell/esh-cmd.el (eshell-invoke-directly, eshell-do-eval, eshell/which): * eshell/esh-ext.el (eshell-find-interpreter): * eshell/esh-mode.el (eshell-mode): * eshell/esh-module.el (eshell-unload-extension-modules): * eshell/esh-proc.el (eshell-process-interact): * eshell/esh-test.el (eshell-test): * eshell/esh-util.el (eshell-flatten-list, eshell-winnow-list): * eshell/esh-var.el (eshell/env, eshell-environment-variables) (eshell-variables-list): * eshell/eshell.el (eshell-unload-all-modules): Replace eshell-for with dolist.
Diffstat (limited to 'lisp/eshell/eshell.el')
-rw-r--r--lisp/eshell/eshell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/eshell/eshell.el b/lisp/eshell/eshell.el
index 7690a102a9b..cda1eea2c55 100644
--- a/lisp/eshell/eshell.el
+++ b/lisp/eshell/eshell.el
@@ -474,7 +474,7 @@ Emacs."
474 ;; if the user set `eshell-prefer-to-shell' to t, but never loaded 474 ;; if the user set `eshell-prefer-to-shell' to t, but never loaded
475 ;; Eshell, then `eshell-subgroups' will be unbound 475 ;; Eshell, then `eshell-subgroups' will be unbound
476 (when (fboundp 'eshell-subgroups) 476 (when (fboundp 'eshell-subgroups)
477 (eshell-for module (eshell-subgroups 'eshell) 477 (dolist (module (eshell-subgroups 'eshell))
478 ;; this really only unloads as many modules as possible, 478 ;; this really only unloads as many modules as possible,
479 ;; since other `require' references (such as by customizing 479 ;; since other `require' references (such as by customizing
480 ;; `eshell-prefer-to-shell' to a non-nil value) might make it 480 ;; `eshell-prefer-to-shell' to a non-nil value) might make it