[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 5bebd292c63: Pass only the local parts of Eshell's $PATH to 'tr
From: |
Jim Porter |
Subject: |
emacs-29 5bebd292c63: Pass only the local parts of Eshell's $PATH to 'tramp-remote-path' |
Date: |
Sun, 12 Nov 2023 15:17:21 -0500 (EST) |
branch: emacs-29
commit 5bebd292c63c9a54430854d7d63d01e6f6727e53
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).
Do not merge to master.
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 a6defe03761..fd63c2f1155 100644
--- a/lisp/eshell/esh-proc.el
+++ b/lisp/eshell/esh-proc.el
@@ -293,7 +293,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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 5bebd292c63: Pass only the local parts of Eshell's $PATH to 'tramp-remote-path',
Jim Porter <=