mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-12 09:28:24 +00:00
(ange-ftp-start-process): Copy the environment.
This commit is contained in:
parent
d6b4d749d0
commit
5da640603d
@ -1918,7 +1918,8 @@ on the gateway machine to do the ftp instead."
|
||||
;; but that doesn't work: ftp never responds.
|
||||
;; Can anyone find a fix for that?
|
||||
(let ((process-connection-type t)
|
||||
(process-environment process-environment)
|
||||
;; Copy this so we don't alter it permanently.
|
||||
(process-environment (copy-tree process-environment))
|
||||
(buffer (get-buffer-create name)))
|
||||
(save-excursion
|
||||
(set-buffer buffer)
|
||||
|
Loading…
Reference in New Issue
Block a user