From: Richard M. Stallman Date: Tue, 20 Jul 1993 05:05:48 +0000 (+0000) Subject: (Man-getpage-in-background): Copy process-environment X-Git-Tag: emacs-19.34~11676 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0322056b5795f593a2040294f114fafb633b714c;p=emacs.git (Man-getpage-in-background): Copy process-environment so we only alter the copy. --- diff --git a/lisp/man.el b/lisp/man.el index 60252c92561..cca12f51dc8 100644 --- a/lisp/man.el +++ b/lisp/man.el @@ -428,7 +428,7 @@ start a background process even if a buffer already exists and (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