aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/image-mode.el
diff options
context:
space:
mode:
authorDeepak Goel <[email protected]>2005-09-18 12:25:02 +0000
committerDeepak Goel <[email protected]>2005-09-18 12:25:02 +0000
commit8a26c16552f49f7a61e1e338952110b59e5b2664 (patch)
tree573b8698befa710db88672563a1714bbed3e0f0a /lisp/image-mode.el
parentbe9bb408d2f2e063cc4606cbaa04912a45719efe (diff)
Message format spec fixes (1)
Diffstat (limited to 'lisp/image-mode.el')
-rw-r--r--lisp/image-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/image-mode.el b/lisp/image-mode.el
index 4999a880df..67d1bcee99 100644
--- a/lisp/image-mode.el
+++ b/lisp/image-mode.el
@@ -66,7 +66,7 @@ to toggle between display as an image and display as text."
;; variables were cleared by kill-all-local-variables
(setq cursor-type nil truncate-lines t))
(run-mode-hooks 'image-mode-hook)
- (message (concat (substitute-command-keys
+ (message "%s" (concat (substitute-command-keys
"Type \\[image-toggle-display] to view the image as ")
(if (get-text-property (point-min) 'display)
"text" "an image") ".")))
@@ -84,7 +84,7 @@ See the command `image-mode' for more information on this mode."
(if (get-text-property (point-min) 'display)
(setq cursor-type nil truncate-lines t))
(add-hook 'change-major-mode-hook (lambda () (image-minor-mode -1)) nil t)
- (message (concat (substitute-command-keys
+ (message "%s" (concat (substitute-command-keys
"Type \\[image-toggle-display] to view the image as ")
(if (get-text-property (point-min) 'display)
"text" "an image") "."))))