* lisp/nnir.el (nnir-run-namazu): According to SUSv3, LC_ALL is
authorueno <ueno>
Sun, 3 Feb 2002 15:54:29 +0000 (15:54 +0000)
committerueno <ueno>
Sun, 3 Feb 2002 15:54:29 +0000 (15:54 +0000)
prior to the other environment variables whose names are starting
with "LC_".  So there is no need to setting them.

lisp/nnir.el

index ac7b08f..7006fe7 100644 (file)
@@ -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))))