listing remote directories.
+2002-09-18 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>
+
+ * dired.el (dired-insert-directory): Never add "--dired" when
+ listing remote directories.
+
2002-09-18 Michael Kifer <kifer@cs.stonybrook.edu>
* ediff-hooks.el: Put back the autoloads (for compatibility with XEmacs).
(let ((opoint (point))
(process-environment (copy-sequence process-environment))
end)
- (if dired-use-ls-dired
+ (if (and dired-use-ls-dired
+ (not (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,