diff 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
line wrap: on
line diff
--- a/lisp/dired.el	Sat Sep 21 20:11:08 2002 +0000
+++ b/lisp/dired.el	Sun Sep 22 13:01:10 2002 +0000
@@ -677,8 +677,7 @@
   (let ((opoint (point))
 	(process-environment (copy-sequence process-environment))
 	end)
-    (if (and dired-use-ls-dired
-	     (not (file-remote-p dir)))
+    (if (or dired-use-ls-dired (file-remote-p dir))
 	(setq switches (concat "--dired " switches)))
     ;; We used to specify the C locale here, to force English month names;
     ;; but this should not be necessary any more,