From 8a386a3d98cb114acc78f83a4eec203d701d12f1 Mon Sep 17 00:00:00 2001 From: ueno Date: Sun, 3 Feb 2002 15:54:29 +0000 Subject: [PATCH] * lisp/nnir.el (nnir-run-namazu): According to SUSv3, LC_ALL is prior to the other environment variables whose names are starting with "LC_". So there is no need to setting them. --- lisp/nnir.el | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lisp/nnir.el b/lisp/nnir.el index ac7b08f..7006fe7 100644 --- a/lisp/nnir.el +++ b/lisp/nnir.el @@ -1242,11 +1242,7 @@ Tested with Namazu 2.0.6 on a GNU/Linux system." (exitstatus (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) - (setenv (match-string 1 env) nil))) - (setenv "LANG" "C") + (setenv "LC_ALL" "C") (message "%s args: %s" nnir-namazu-program (mapconcat 'identity (cddddr cp-list) " ")) (apply 'call-process cp-list)))) -- 1.7.10.4