changeset 45249:307e91e0f260

(dired-show-file-type): Use -- to say FILE's not option.
author Richard M. Stallman <rms@gnu.org>
date Sun, 12 May 2002 16:42:26 +0000
parents 10242bae4314
children 21ed0daaa2c6
files lisp/dired-aux.el
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Sun May 12 16:42:19 2002 +0000
+++ b/lisp/dired-aux.el	Sun May 12 16:42:26 2002 +0000
@@ -2022,8 +2022,8 @@
   (interactive (list (dired-get-filename t) current-prefix-arg))
   (with-temp-buffer
     (if deref-symlinks
-	(call-process "file" nil t t "-L" file)
-      (call-process "file" nil t t file))
+	(call-process "file" nil t t "-L" "--" file)
+      (call-process "file" nil t t "--" file))
     (when (bolp)
       (backward-delete-char 1))
     (message (buffer-string))))