mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-25 07:28:20 +00:00
* dired-aux.el (dired-show-file-type): Let-bind
`process-file-side-effects' with nil.
This commit is contained in:
parent
2c4f2562bb
commit
b967bd1914
@ -2427,13 +2427,14 @@ with the command \\[tags-loop-continue]."
|
||||
If FILE is a symbolic link and the optional argument DEREF-SYMLINKS is
|
||||
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
|
||||
(process-file "file" nil t t "-L" "--" file)
|
||||
(process-file "file" nil t t "--" file))
|
||||
(when (bolp)
|
||||
(backward-delete-char 1))
|
||||
(message "%s" (buffer-string))))
|
||||
(let (process-file-side-effects)
|
||||
(with-temp-buffer
|
||||
(if deref-symlinks
|
||||
(process-file "file" nil t t "-L" "--" file)
|
||||
(process-file "file" nil t t "--" file))
|
||||
(when (bolp)
|
||||
(backward-delete-char 1))
|
||||
(message "%s" (buffer-string)))))
|
||||
|
||||
(provide 'dired-aux)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user