# HG changeset patch # User John Wiegley # Date 1086597383 0 # Node ID db23082093f5c5c044262c6dc10bd39b216c3a26 # Parent de68612fdbfb86eef316941977caca4871b4c924 2004-06-06 Emilio C. Lopes * eshell/esh-cmd.el (eshell/which): respect commands quoted with eshell-explicit-command-char diff -r de68612fdbfb -r db23082093f5 lisp/eshell/esh-cmd.el --- a/lisp/eshell/esh-cmd.el Mon Jun 07 08:36:07 2004 +0000 +++ b/lisp/eshell/esh-cmd.el Mon Jun 07 08:36:23 2004 +0000 @@ -1246,9 +1246,8 @@ (setq program (eshell-search-path name)) (let* ((esym (eshell-find-alias-function name)) (sym (or esym (intern-soft name)))) - (if (and sym (fboundp sym) - (or esym eshell-prefer-lisp-functions - (not program))) + (if (and (or esym (and sym (fboundp sym))) + (or eshell-prefer-lisp-functions (not direct))) (let ((desc (let ((inhibit-redisplay t)) (save-window-excursion (prog1