mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2026-09-10 15:56:35 -04:00
Fix `with-tramp-local-environment'
* lisp/net/tramp.el (with-tramp-local-environment): Do not change the global environment. Reported by Daniel Kraus <daniel@kraus.my>. (Bug#81409)
This commit is contained in:
parent
82166cbd00
commit
3b4cba3b68
|
|
@ -7228,6 +7228,7 @@ might have improper values."
|
|||
(mapcar #'car tramp-connection-local-default-system-variables))))
|
||||
`(let* ((default-directory tramp-compat-temporary-file-directory)
|
||||
(temporary-file-directory tramp-compat-temporary-file-directory)
|
||||
(process-environment (copy-sequence process-environment))
|
||||
,@bindings)
|
||||
(setenv "TERM" tramp-terminal-type)
|
||||
(setenv "PROMPT_COMMAND")
|
||||
|
|
|
|||
Loading…
Reference in a new issue