summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-10-24 22:42:29 +0000
committerKarl Heuer <kwzh@gnu.org>1996-10-24 22:42:29 +0000
commit018719d9c15a8932bcaae1d8820624de5bba8515 (patch)
treef251efec46633d3c6952a8a29396ad8981b434db /lisp/dired.el
parentabd7046a1656bd65ad6401596ef2b6e885e942bf (diff)
downloademacs-018719d9c15a8932bcaae1d8820624de5bba8515.tar.gz
(dired-insert-directory): Check for non-US LANG.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el2
1 files changed, 1 insertions, 1 deletions
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)