From 1fc85daee037058b772d7fa2726bc939fae4720c Mon Sep 17 00:00:00 2001 From: Kai Großjohann Date: Sun, 22 Sep 2002 13:01:10 +0000 Subject: * 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. --- lisp/files.el | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lisp/files.el') 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. -- cgit v1.2.3