changeset 6095:c04ea0b0dbc0

(comint-exec-1): Force a local copy of the environment.
author Karl Heuer <kwzh@gnu.org>
date Sat, 26 Feb 1994 02:24:51 +0000
parents d55916e75e16
children 443b78042b86
files lisp/comint.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/comint.el	Sat Feb 26 02:20:31 1994 +0000
+++ b/lisp/comint.el	Sat Feb 26 02:24:51 1994 +0000
@@ -574,7 +574,7 @@
 ;;; the appropriate environment.
 
 (defun comint-exec-1 (name buffer command switches)
-  (let ((process-environment process-environment))
+  (let ((process-environment (copy-sequence process-environment)))
     (setenv "TERMCAP" (format "emacs:co#%d:tc=unknown" (frame-width)))
     (setenv "TERM" "emacs")
     (setenv "EMACS" "t")