aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Wiegley2004-06-07 08:36:23 +0000
committerJohn Wiegley2004-06-07 08:36:23 +0000
commitac03c474d9bf561e06c78ace5ad1d021f8b5da66 (patch)
tree3c360bc6741bd6ea9d0b5c959772063996040c65
parent2a05085477089c55a650e2eca767d8cad195d60f (diff)
downloademacs-ac03c474d9bf561e06c78ace5ad1d021f8b5da66.tar.gz
emacs-ac03c474d9bf561e06c78ace5ad1d021f8b5da66.zip
2004-06-06 Emilio C. Lopes <eclig@gmx.net>
* eshell/esh-cmd.el (eshell/which): respect commands quoted with eshell-explicit-command-char
-rw-r--r--lisp/eshell/esh-cmd.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el
index 9b4f54ce8bf..477d8b410ec 100644
--- a/lisp/eshell/esh-cmd.el
+++ b/lisp/eshell/esh-cmd.el
@@ -1246,9 +1246,8 @@ be finished later after the completion of an asynchronous subprocess."
1246 (setq program (eshell-search-path name)) 1246 (setq program (eshell-search-path name))
1247 (let* ((esym (eshell-find-alias-function name)) 1247 (let* ((esym (eshell-find-alias-function name))
1248 (sym (or esym (intern-soft name)))) 1248 (sym (or esym (intern-soft name))))
1249 (if (and sym (fboundp sym) 1249 (if (and (or esym (and sym (fboundp sym)))
1250 (or esym eshell-prefer-lisp-functions 1250 (or eshell-prefer-lisp-functions (not direct)))
1251 (not program)))
1252 (let ((desc (let ((inhibit-redisplay t)) 1251 (let ((desc (let ((inhibit-redisplay t))
1253 (save-window-excursion 1252 (save-window-excursion
1254 (prog1 1253 (prog1