diff lisp/files.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 dec829d59f3c
children e437df73c5bd
line wrap: on
line diff
--- a/lisp/files.el	Sat Sep 21 20:11:08 2002 +0000
+++ b/lisp/files.el	Sun Sep 22 13:01:10 2002 +0000
@@ -3969,6 +3969,9 @@
 ;;   		 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.