1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(eshell/which): Use `eshell-explicit-command-char' instead of ?*.

This commit is contained in:
John Wiegley 2001-05-18 16:39:49 +00:00
parent a129972c07
commit 94d136339d

View file

@ -1231,7 +1231,7 @@ be finished later after the completion of an asynchronous subprocess."
"Identify the COMMAND, and where it is located."
(eshell-for name (cons command names)
(let (program alias direct)
(if (eq (aref name 0) ?*)
(if (eq (aref name 0) eshell-explicit-command-char)
(setq name (substring name 1)
direct t))
(if (and (not direct)