Commit 8041ea75 authored by Juri Linkov's avatar Juri Linkov

(compilation-start): Use copy of `process-environment'

created by `copy-sequence' to not override env-vars
in the global `process-environment'.
parent a58c94a2
......@@ -19,12 +19,19 @@
2004-09-07 Juri Linkov <juri@jurta.org>
* 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 <eliz@gnu.org>
* simple.el (next-error-follow-minor-mode): Fix last change.
......
......@@ -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
......
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