diff lisp/info.el @ 14319:e39a2eb75dbe

(Info-edit, Info-goto-emacs-command-node): Pass proper format string to message.
author Karl Heuer <kwzh@gnu.org>
date Thu, 25 Jan 1996 00:54:59 +0000
parents 83f275dcd93a
children 87fde6ef6c95
line wrap: on
line diff
--- a/lisp/info.el	Thu Jan 25 00:54:50 1996 +0000
+++ b/lisp/info.el	Thu Jan 25 00:54:59 1996 +0000
@@ -1632,7 +1632,7 @@
   (or Info-enable-edit
       (error "Editing info nodes is not enabled"))
   (Info-edit-mode)
-  (message (substitute-command-keys
+  (message "%s" (substitute-command-keys
 	    "Editing: Type \\<Info-edit-map>\\[Info-cease-edit] to return to info")))
 
 (defun Info-cease-edit ()
@@ -1730,10 +1730,10 @@
 		;; Info-history.  Put the other nodes that were found on
 		;; the history.
 		(setq Info-history (nconc (cdr where) Info-history))
-		(message (substitute-command-keys
-			  "Found %d other entr%s.  Use \\[Info-last] to see %s.")
+		(message "Found %d other entr%s.  Use %s to see %s."
 			 (1- num-matches)
 			 (if (> num-matches 2) "ies" "y")
+			 (substitute-command-keys "\\[Info-last]")
 			 (if (> num-matches 2) "them" "it")))))
       (error "Couldn't find documentation for %s." command))))