changeset 13929:490fe0437271

(dired-insert-directory): Force use of C locale.
author Richard M. Stallman <rms@gnu.org>
date Thu, 04 Jan 1996 00:32:19 +0000
parents d9a95968edb8
children badba571804f
files lisp/dired.el
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired.el	Wed Jan 03 18:36:29 1996 +0000
+++ b/lisp/dired.el	Thu Jan 04 00:32:19 1996 +0000
@@ -562,7 +562,11 @@
   ;; 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.