diff options
| author | Richard M. Stallman | 1996-01-04 00:32:19 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-01-04 00:32:19 +0000 |
| commit | 02b5d79c8054be4206cbacf257172ff35dc7a1d9 (patch) | |
| tree | 435ee99cf76819fd0d7495f8b42987547b201e23 | |
| parent | f869bab8201744adc724af356f39c118a8e72140 (diff) | |
| download | emacs-02b5d79c8054be4206cbacf257172ff35dc7a1d9.tar.gz emacs-02b5d79c8054be4206cbacf257172ff35dc7a1d9.zip | |
(dired-insert-directory): Force use of C locale.
| -rw-r--r-- | lisp/dired.el | 4 |
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." | |||
| 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. |