comparison lisp/dired.el @ 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 8838c82fd058
children 5449183b1e7b
comparison
equal deleted inserted replaced
13928:d9a95968edb8 13929:490fe0437271
560 (defun dired-insert-directory (dir-or-list switches &optional wildcard full-p) 560 (defun dired-insert-directory (dir-or-list switches &optional wildcard full-p)
561 ;; Do the right thing whether dir-or-list is atomic or not. If it is, 561 ;; Do the right thing whether dir-or-list is atomic or not. If it is,
562 ;; inset all files listed in the cdr (the car is the passed-in directory 562 ;; inset all files listed in the cdr (the car is the passed-in directory
563 ;; list). 563 ;; list).
564 (let ((opoint (point)) 564 (let ((opoint (point))
565 (process-environment (copy-sequence process-environment))
565 end) 566 end)
567 ;; This makes sure that month names come out in English
568 ;; so we can find the start of the file name.
569 (setenv "LC_ALL" "C")
566 (if (consp dir-or-list) 570 (if (consp dir-or-list)
567 ;; In this case, use the file names in the cdr 571 ;; In this case, use the file names in the cdr
568 ;; exactly as originally given to dired-noselect. 572 ;; exactly as originally given to dired-noselect.
569 (mapcar 573 (mapcar
570 (function (lambda (x) (insert-directory x switches wildcard full-p))) 574 (function (lambda (x) (insert-directory x switches wildcard full-p)))