summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2002-11-11 11:44:24 +0000
committerJuanma Barranquero <lekktu@gmail.com>2002-11-11 11:44:24 +0000
commit6de40a0c9ed9865cfee706749987a5e162e207cb (patch)
tree401607bbac319a4e82d1e6861fc1727e9eeec38f /lisp/dired-aux.el
parent2302ee3426e35082ecbf442571a3d9fb1b7b9560 (diff)
downloademacs-6de40a0c9ed9865cfee706749987a5e162e207cb.tar.gz
(dired-show-file-type): Format filename with "%s" to escape any format-like
sequences it could contain.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index c20888f7da1..09ad9f9a677 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -2033,7 +2033,7 @@ true then the type of the file linked to by FILE is printed instead."
(call-process "file" nil t t "--" file))
(when (bolp)
(backward-delete-char 1))
- (message (buffer-string))))
+ (message "%s" (buffer-string))))
(provide 'dired-aux)