changeset 4175:3e4fa4423f5a

(Man-getpage-in-background): Copy process-environment so we only alter the copy.
author Richard M. Stallman <rms@gnu.org>
date Tue, 20 Jul 1993 05:05:48 +0000
parents 3736ceccd7c1
children c544fd59ecfd
files lisp/man.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/man.el	Tue Jul 20 04:35:00 1993 +0000
+++ b/lisp/man.el	Tue Jul 20 05:05:48 1993 +0000
@@ -428,7 +428,7 @@
 	(Man-notify-when-ready buffer)
       (message "Invoking man %s in background..." man-args)
       (setq buffer (generate-new-buffer bufname))
-      (let ((process-environment process-environment))
+      (let ((process-environment (copy-sequence process-environment)))
 	;; Prevent any attempt to use display terminal fanciness.
 	(setenv "TERM" "dumb")
 	(set-process-sentinel