Mercurial > emacs
comparison lisp/dired.el @ 47575:4d9f899a5963
* dired.el (dired-insert-directory): Always add "--dired" to to
SWITCHES for remote files.
* files.el (insert-directory): Comment saying that "--dired"
might be in the SWITCHES.
* net/ange-ftp.el (ange-ftp-ls): Handle "--dired" in LSARGS.
(ange-ftp-insert-directory): Comment explaining "--dired"
handling.
author | Kai Großjohann <kgrossjo@eu.uu.net> |
---|---|
date | Sun, 22 Sep 2002 13:01:10 +0000 |
parents | 55087a54b990 |
children | 6bb5a8b3bbd3 |
comparison
equal
deleted
inserted
replaced
47574:87934bad758d | 47575:4d9f899a5963 |
---|---|
675 In other cases, DIR should be a directory name or a directory filename. | 675 In other cases, DIR should be a directory name or a directory filename. |
676 If HDR is non-nil, insert a header line with the directory name." | 676 If HDR is non-nil, insert a header line with the directory name." |
677 (let ((opoint (point)) | 677 (let ((opoint (point)) |
678 (process-environment (copy-sequence process-environment)) | 678 (process-environment (copy-sequence process-environment)) |
679 end) | 679 end) |
680 (if (and dired-use-ls-dired | 680 (if (or dired-use-ls-dired (file-remote-p dir)) |
681 (not (file-remote-p dir))) | |
682 (setq switches (concat "--dired " switches))) | 681 (setq switches (concat "--dired " switches))) |
683 ;; We used to specify the C locale here, to force English month names; | 682 ;; We used to specify the C locale here, to force English month names; |
684 ;; but this should not be necessary any more, | 683 ;; but this should not be necessary any more, |
685 ;; with the new value of dired-move-to-filename-regexp. | 684 ;; with the new value of dired-move-to-filename-regexp. |
686 (if file-list | 685 (if file-list |