aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2002-11-11 11:44:24 +0000
committerJuanma Barranquero2002-11-11 11:44:24 +0000
commit6de40a0c9ed9865cfee706749987a5e162e207cb (patch)
tree401607bbac319a4e82d1e6861fc1727e9eeec38f
parent2302ee3426e35082ecbf442571a3d9fb1b7b9560 (diff)
downloademacs-6de40a0c9ed9865cfee706749987a5e162e207cb.tar.gz
emacs-6de40a0c9ed9865cfee706749987a5e162e207cb.zip
(dired-show-file-type): Format filename with "%s" to escape any format-like
sequences it could contain.
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired-aux.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index aefa123399d..a2f8ce2bb09 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12002-11-11 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr> (tiny change)
2
3 * dired-aux.el (dired-show-file-type): Format filename with "%s" to
4 escape any format-like sequences it could contain.
5
12002-11-11 Per Abrahamsen <abraham@dina.kvl.dk> 62002-11-11 Per Abrahamsen <abraham@dina.kvl.dk>
2 7
3 * cus-edit.el (custom-save-delete): Force emacs-lisp-mode. 8 * cus-edit.el (custom-save-delete): Force emacs-lisp-mode.
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."
2033 (call-process "file" nil t t "--" file)) 2033 (call-process "file" nil t t "--" file))
2034 (when (bolp) 2034 (when (bolp)
2035 (backward-delete-char 1)) 2035 (backward-delete-char 1))
2036 (message (buffer-string)))) 2036 (message "%s" (buffer-string))))
2037 2037
2038(provide 'dired-aux) 2038(provide 'dired-aux)
2039 2039