diff options
author | Kai Großjohann <kgrossjo@eu.uu.net> | 2002-09-18 07:50:37 +0000 |
---|---|---|
committer | Kai Großjohann <kgrossjo@eu.uu.net> | 2002-09-18 07:50:37 +0000 |
commit | 96610f9dd85861bb65a4a867f8428e694462a143 (patch) | |
tree | 22ee70793871453680795595081bb69b0e36d02b | |
parent | f3eabcdf400d9a6848cf46973cde07b13d7fbab0 (diff) | |
download | emacs-96610f9dd85861bb65a4a867f8428e694462a143.tar.gz |
(dired-insert-directory): Never add "--dired" when
listing remote directories.
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/dired.el | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 9009888c364..4e64914f66d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2002-09-18 Kai Gro,A_(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). diff --git a/lisp/dired.el b/lisp/dired.el index d5bbaaddebc..f8d5fc03883 100644 --- a/lisp/dired.el +++ b/lisp/dired.el @@ -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, |