diff --git a/lisp/eshell/esh-cmd.el b/lisp/eshell/esh-cmd.el index 79df4d5ffba..7ee97d5debc 100644 --- a/lisp/eshell/esh-cmd.el +++ b/lisp/eshell/esh-cmd.el @@ -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)