From: Karl Heuer Date: Thu, 24 Oct 1996 22:42:29 +0000 (+0000) Subject: (dired-insert-directory): Check for non-US LANG. X-Git-Tag: emacs-20.1~3487 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8c605b4bb1c0414abe733cac69ab66e0b5bac309;p=emacs.git (dired-insert-directory): Check for non-US LANG. --- diff --git a/lisp/dired.el b/lisp/dired.el index a0d0bb9f74d..7644887d103 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -606,7 +606,7 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh." dired-standard-move-to-filename-regexp) ;; It also isn't necessary if we'd use the C locale anyway. (not (equal (or (getenv "LC_ALL") (getenv "LC_TIME") - (getenv "LANGUAGE") "C") + (getenv "LANGUAGE") (getenv "LANG") "C") "C"))) (setq process-environment (cons "LC_ALL=C" process-environment))) (if (consp dir-or-list)