changeset 56961:80f39c8b91c5

(compilation-start): Use copy of `process-environment' created by `copy-sequence' to not override env-vars in the global `process-environment'.
author Juri Linkov <juri@jurta.org>
date Tue, 07 Sep 2004 18:19:17 +0000
parents 84482ed458f2
children 587d59561e32
files lisp/progmodes/compile.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/progmodes/compile.el	Tue Sep 07 18:10:49 2004 +0000
+++ b/lisp/progmodes/compile.el	Tue Sep 07 18:19:17 2004 +0000
@@ -878,7 +878,7 @@
 	  ;; Set the EMACS variable, but
 	  ;; don't override users' setting of $EMACS.
 	  (unless (getenv "EMACS") '("EMACS=t"))
-	  process-environment))
+	  (copy-sequence process-environment)))
 	(thisdir default-directory)
 	outwin outbuf)
     (with-current-buffer