changeset 14328:5d0e329a44d8

(sgml-tag-help): Pass proper format string to message.
author Karl Heuer <kwzh@gnu.org>
date Thu, 25 Jan 1996 00:57:01 +0000
parents 0df217c5842d
children 8871d870be84
files lisp/textmodes/sgml-mode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/sgml-mode.el	Thu Jan 25 00:56:54 1996 +0000
+++ b/lisp/textmodes/sgml-mode.el	Thu Jan 25 00:57:01 1996 +0000
@@ -530,7 +530,8 @@
   (or (stringp tag)
       (error "No tag selected"))
   (setq tag (downcase tag))
-  (message (or (cdr (assoc tag sgml-tag-help))
+  (message "%s"
+	   (or (cdr (assoc tag sgml-tag-help))
 	       (and (eq (aref tag 0) ?/)
 		    (cdr (assoc (substring tag 1) sgml-tag-help)))
 	       "No description available")))