summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1996-01-25 00:56:19 +0000
committerKarl Heuer <kwzh@gnu.org>1996-01-25 00:56:19 +0000
commit67ae9aa65af8f97a036f6f0a90f4d90194d214fd (patch)
treef347053d10ba1dc5e12ebc91f2ad4fefdab973c3
parentd297197ce8f692109e075cb8844ba860f8e24932 (diff)
downloademacs-67ae9aa65af8f97a036f6f0a90f4d90194d214fd.tar.gz
(picture-mode): Pass proper format string to message.
-rw-r--r--lisp/textmodes/picture.el7
1 files changed, 3 insertions, 4 deletions
diff --git a/lisp/textmodes/picture.el b/lisp/textmodes/picture.el
index 9dd63507ea1..d672ce0738d 100644
--- a/lisp/textmodes/picture.el
+++ b/lisp/textmodes/picture.el
@@ -608,10 +608,9 @@ they are not defaultly assigned to keys."
;; edit-picture-hook is what we used to run, picture-mode-hook is in doc.
(run-hooks 'edit-picture-hook 'picture-mode-hook)
- (message
- (substitute-command-keys
- "Type \\[picture-mode-exit] in this buffer to return it to %s mode.")
- picture-mode-old-mode-name)))
+ (message "Type %s in this buffer to return it to %s mode."
+ (substitute-command-keys "\\[picture-mode-exit]")
+ picture-mode-old-mode-name)))
;;;###autoload
(defalias 'edit-picture 'picture-mode)