From 0322056b5795f593a2040294f114fafb633b714c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Tue, 20 Jul 1993 05:05:48 +0000 Subject: [PATCH] (Man-getpage-in-background): Copy process-environment so we only alter the copy. --- lisp/man.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5