changeset 14324:fae2e1075bcf

(picture-mode): Pass proper format string to message.
author Karl Heuer <kwzh@gnu.org>
date Thu, 25 Jan 1996 00:56:19 +0000
parents b418ef5f5ae1
children 51bfdecb7084
files lisp/textmodes/picture.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/picture.el	Thu Jan 25 00:56:09 1996 +0000
+++ b/lisp/textmodes/picture.el	Thu Jan 25 00:56:19 1996 +0000
@@ -608,10 +608,9 @@
 
     ;; 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)