Commit 5da64060 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(ange-ftp-start-process): Copy the environment.

parent d6b4d749
......@@ -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)))
(set-buffer buffer)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment