From: Richard M. Stallman Date: Thu, 4 Jan 1996 00:32:19 +0000 (+0000) Subject: (dired-insert-directory): Force use of C locale. X-Git-Tag: emacs-19.34~1931 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=02b5d79c8054be4206cbacf257172ff35dc7a1d9;p=emacs.git (dired-insert-directory): Force use of C locale. --- 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.