emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 52afc64bad7: Pass only the local parts of Eshell's $PATH to 'tram


From: Jim Porter
Subject: master 52afc64bad7: Pass only the local parts of Eshell's $PATH to 'tramp-remote-path'
Date: Sun, 12 Nov 2023 15:07:01 -0500 (EST)

branch: master
commit 52afc64bad7f5af3d4bce48c5ac6e8e9bffbb933
Author: Xiaoyue Chen <xchen@vvvu.org>
Commit: Jim Porter <jporterbugs@gmail.com>

    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
---
 lisp/eshell/esh-proc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]