diff --git a/lisp/eshell/esh-proc.el b/lisp/eshell/esh-proc.el index 6561561440e..e7e91f08741 100644 --- a/lisp/eshell/esh-proc.el +++ b/lisp/eshell/esh-proc.el @@ -304,7 +304,7 @@ Used only on systems which do not support async subprocesses.") ;; future, remember to remove `tramp-remote-path' above, too.) (when (file-remote-p default-directory) (push (concat "PATH=" real-path) process-environment) - (setq tramp-remote-path (eshell-get-path))) + (setq tramp-remote-path (eshell-get-path t))) ;; MS-Windows needs special setting of encoding/decoding, because ;; (a) non-ASCII text in command-line arguments needs to be ;; encoded in the system's codepage; and (b) because many Windows