1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

(sgml-tag-help): Pass proper format string to message.

This commit is contained in:
Karl Heuer 1996-01-25 00:57:01 +00:00
parent 26544100fa
commit f68f40e039

View file

@ -530,7 +530,8 @@ With prefix ARG only self insert."
(or (stringp tag) (or (stringp tag)
(error "No tag selected")) (error "No tag selected"))
(setq tag (downcase tag)) (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) ?/) (and (eq (aref tag 0) ?/)
(cdr (assoc (substring tag 1) sgml-tag-help))) (cdr (assoc (substring tag 1) sgml-tag-help)))
"No description available"))) "No description available")))