Commit 94d13633 authored by John Wiegley's avatar John Wiegley
Browse files

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

parent a129972c
...@@ -1231,7 +1231,7 @@ be finished later after the completion of an asynchronous subprocess." ...@@ -1231,7 +1231,7 @@ be finished later after the completion of an asynchronous subprocess."
"Identify the COMMAND, and where it is located." "Identify the COMMAND, and where it is located."
(eshell-for name (cons command names) (eshell-for name (cons command names)
(let (program alias direct) (let (program alias direct)
(if (eq (aref name 0) ?*) (if (eq (aref name 0) eshell-explicit-command-char)
(setq name (substring name 1) (setq name (substring name 1)
direct t)) direct t))
(if (and (not direct) (if (and (not direct)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment