changeset 48245:ae3c8e5ff8a9

(dired-show-file-type): Format filename with "%s" to escape any format-like sequences it could contain.
author Juanma Barranquero <lekktu@gmail.com>
date Mon, 11 Nov 2002 11:44:05 +0000
parents b534f5704525
children 1b31e0f7b55d
files lisp/dired-aux.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/dired-aux.el	Mon Nov 11 10:51:58 2002 +0000
+++ b/lisp/dired-aux.el	Mon Nov 11 11:44:05 2002 +0000
@@ -2033,7 +2033,7 @@
       (call-process "file" nil t t "--" file))
     (when (bolp)
       (backward-delete-char 1))
-    (message (buffer-string))))
+    (message "%s" (buffer-string))))
 
 (provide 'dired-aux)