# HG changeset patch # User Richard M. Stallman # Date 1021221746 0 # Node ID 307e91e0f260892e093be26075bbd366414b8f69 # Parent 10242bae43141218b6a80b462d35c7ce4bd95043 (dired-show-file-type): Use -- to say FILE's not option. diff -r 10242bae4314 -r 307e91e0f260 lisp/dired-aux.el --- 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))))