summaryrefslogtreecommitdiff
path: root/lisp/files.el
diff options
context:
space:
mode:
authorKai Großjohann <kgrossjo@eu.uu.net>2002-09-22 13:01:10 +0000
committerKai Großjohann <kgrossjo@eu.uu.net>2002-09-22 13:01:10 +0000
commit1fc85daee037058b772d7fa2726bc939fae4720c (patch)
tree2b8b61c21545e4624d68e7bc03848d57a977121f /lisp/files.el
parentf8aba1ce998c2cb33e1dfa2741aedb4a2ae2f1ca (diff)
downloademacs-1fc85daee037058b772d7fa2726bc939fae4720c.tar.gz
emacs-1fc85daee037058b772d7fa2726bc939fae4720c.tar.bz2
emacs-1fc85daee037058b772d7fa2726bc939fae4720c.zip
* 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.
Diffstat (limited to 'lisp/files.el')
-rw-r--r--lisp/files.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/files.el b/lisp/files.el
index 020249dbf23..4a495aab30c 100644
--- a/lisp/files.el
+++ b/lisp/files.el
@@ -3969,6 +3969,9 @@ program specified by `directory-free-space-program' if that is non-nil."
;; dired-insert-headerline
;; dired-after-subdir-garbage (defines what a "total" line is)
;; - variable dired-subdir-regexp
+;; - may be passed "--dired" as the first argument in SWITCHES.
+;; Filename handlers might have to remove this switch if their
+;; "ls" command does not support it.
(defun insert-directory (file switches &optional wildcard full-directory-p)
"Insert directory listing for FILE, formatted according to SWITCHES.
Leaves point after the inserted text.