]> git.eshelyaron.com Git - emacs.git/commitdiff
(dired-insert-directory): Never add "--dired" when
authorKai Großjohann <kgrossjo@eu.uu.net>
Wed, 18 Sep 2002 07:50:37 +0000 (07:50 +0000)
committerKai Großjohann <kgrossjo@eu.uu.net>
Wed, 18 Sep 2002 07:50:37 +0000 (07:50 +0000)
listing remote directories.

lisp/ChangeLog
lisp/dired.el

index 9009888c3643e424a98f91b305db574e42f7b9aa..4e64914f66d6221024a63b4743b29f5617f591ba 100644 (file)
@@ -1,3 +1,8 @@
+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).
index d5bbaaddebc513e578c1960f76fa4aa88d1d4917..f8d5fc03883206f3c70448a52c2c25d3689edcba 100644 (file)
@@ -677,7 +677,8 @@ If HDR is non-nil, insert a header line with the directory name."
   (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,