summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2002-05-12 16:42:26 +0000
committerRichard M. Stallman <rms@gnu.org>2002-05-12 16:42:26 +0000
commit384bcc6495e2c1ae0e0f54707506cd50a39a59e0 (patch)
tree546f7ba39a394c5c9b6dad01562f8c2f16c2d49f /lisp/dired-aux.el
parent74d40d47e8d7f8e20b7e90c617b360edd5d1b963 (diff)
downloademacs-384bcc6495e2c1ae0e0f54707506cd50a39a59e0.tar.gz
(dired-show-file-type): Use -- to say FILE's not option.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index ed8c3247f82..8d2b66fe12d 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -2022,8 +2022,8 @@ true then the type of the file linked to by FILE is printed instead."
(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))))