mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(dired-show-file-type): Use -- to say FILE's not option.
This commit is contained in:
parent
74d40d47e8
commit
384bcc6495
@ -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))))
|
||||
|
Loading…
Reference in New Issue
Block a user