mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Pass only the local parts of Eshell's $PATH to 'tramp-remote-path'
* lisp/eshell/esh-proc.el (eshell-gather-process-output): Get the local part of the $PATH (bug#67126). Copyright-paperwork-exempt: yes
This commit is contained in:
parent
8351813903
commit
52afc64bad
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue