From: Juri Linkov Date: Tue, 7 Sep 2004 18:21:45 +0000 (+0000) Subject: (compilation-start): Use copy of `process-environment' X-Git-Tag: ttn-vms-21-2-B4~5041 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8041ea759c1d5d1a4ee1a1b0d62fe10d7b7b04a9;p=emacs.git (compilation-start): Use copy of `process-environment' created by `copy-sequence' to not override env-vars in the global `process-environment'. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index eb833b29c62..044f72d6b22 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -19,12 +19,19 @@ 2004-09-07 Juri Linkov * progmodes/grep.el (grep-highlight-matches): Change default from - `t' to `auto-detect', and type from `boolean' to `choice'. + `t' to `auto-detect', and type from `boolean' to `choice'. Doc fix. (grep-compute-defaults): Set `grep-highlight-matches' to `t' if grep option `--color' is available, or to `nil' otherwise. + (grep-process-setup): Call `grep-compute-defaults' if + `grep-highlight-matches' is not computed. Set env-vars only + if `grep-highlight-matches' is `t'. (grep-use-null-device): Remove redundant type `boolean' (`choice' is already defined). + * progmodes/compile.el (compilation-start): Use copy of + `process-environment' created by `copy-sequence' to not + modify env-vars in the global `process-environment'. + 2004-09-06 Eli Zaretskii * simple.el (next-error-follow-minor-mode): Fix last change. diff --git a/lisp/progmodes/compile.el b/lisp/progmodes/compile.el index 076ffcc8159..c9f4cf4a596 100644 --- a/lisp/progmodes/compile.el +++ b/lisp/progmodes/compile.el @@ -878,7 +878,7 @@ Returns the compilation buffer created." ;; 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