From c7d3b4b19181fde2236c6dc44b4b78b303165c79 Mon Sep 17 00:00:00 2001 From: tsuchiya Date: Wed, 5 Sep 2001 04:47:48 +0000 Subject: [PATCH] (nnir-run-namazu): Fix a side effect when handling of process environments. --- ChangeLog | 5 +++++ lisp/nnir.el | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5e57118..dea75a1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-09-05 TSUCHIYA Masatoshi + + * lisp/nnir.el (nnir-run-namazu): Fix a side effect when handling + of process environments. + 2001-09-04 TSUCHIYA Masatoshi * lisp/nnir.el (top): Added code to avoid byte-compile warning diff --git a/lisp/nnir.el b/lisp/nnir.el index fb78318..6d347d5 100644 --- a/lisp/nnir.el +++ b/lisp/nnir.el @@ -1217,8 +1217,8 @@ Tested with Namazu 2.0.6 on a GNU/Linux system." ,nnir-namazu-index-directory ; index directory )) (exitstatus - (let ((process-environment process-environment)) - ;; Disable locale of Namazu. + (let ((process-environment (copy-sequence process-environment))) + ;; Disable locale. (dolist (env process-environment) (when (string-match "\ \\`\\(L\\(ANG\\|C_\\(ALL\\|CTYPE\\|COLLATE\\|TIME\\|NUMERIC\\|MONETARY\\|MESSAGES\\)\\)\\)=" env) -- 1.7.10.4