summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1993-07-20 05:05:48 +0000
committerRichard M. Stallman <rms@gnu.org>1993-07-20 05:05:48 +0000
commit4d35416c075d0b1af2e4daa4d4d6dcdfc5b940a5 (patch)
tree99c572f4a87373ededfbfccd9e1cb89d0513af3e /lisp
parent963a336b85dc4df8eabbe9bdb0ee116fcf1e3758 (diff)
downloademacs-4d35416c075d0b1af2e4daa4d4d6dcdfc5b940a5.tar.gz
(Man-getpage-in-background): Copy process-environment
so we only alter the copy.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/man.el2
1 files changed, 1 insertions, 1 deletions
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