From a9eeff78d5bdcb9e03055376705e8f31fe145b79 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Fri, 4 Mar 2011 19:53:41 -0800 Subject: 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. --- lisp/eshell/esh-ext.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lisp/eshell/esh-ext.el') diff --git a/lisp/eshell/esh-ext.el b/lisp/eshell/esh-ext.el index 7128d7e4749..ebd20b90dd6 100644 --- a/lisp/eshell/esh-ext.el +++ b/lisp/eshell/esh-ext.el @@ -263,7 +263,7 @@ line of the form #!." (let ((finterp (catch 'found (ignore - (eshell-for possible eshell-interpreter-alist + (dolist (possible eshell-interpreter-alist) (cond ((functionp (car possible)) (and (funcall (car possible) file) -- cgit v1.2.1