summaryrefslogtreecommitdiff
path: root/lisp/dired.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1996-01-04 00:32:19 +0000
committerRichard M. Stallman <rms@gnu.org>1996-01-04 00:32:19 +0000
commit80cc22dd0e87d5cc6a2980b1533150c8564fcb60 (patch)
tree2fe0b23a028ce85d93c027530479d91f4a0e7d07 /lisp/dired.el
parent154fc36ecaf05a5f598ab16d425c876b789951c4 (diff)
downloademacs-80cc22dd0e87d5cc6a2980b1533150c8564fcb60.tar.gz
(dired-insert-directory): Force use of C locale.
Diffstat (limited to 'lisp/dired.el')
-rw-r--r--lisp/dired.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/lisp/dired.el b/lisp/dired.el
index 7da15bc2df0..6bf16084c00 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -562,7 +562,11 @@ If DIRNAME is already in a dired buffer, that buffer is used without refresh."
;; inset all files listed in the cdr (the car is the passed-in directory
;; list).
(let ((opoint (point))
+ (process-environment (copy-sequence process-environment))
end)
+ ;; This makes sure that month names come out in English
+ ;; so we can find the start of the file name.
+ (setenv "LC_ALL" "C")
(if (consp dir-or-list)
;; In this case, use the file names in the cdr
;; exactly as originally given to dired-noselect.