1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -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)
(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")))