Commit 880c345e authored by Kenichi Handa's avatar Kenichi Handa

(help-make-xrefs): Don't make hyperlinks for incorrect coding systems.

parent 9941d4c7
......@@ -1134,7 +1134,7 @@ that."
(sym (intern-soft data)))
(cond
((match-string 3) ; coding system
(and (coding-system-p sym)
(and sym (coding-system-p sym)
(help-xref-button
5 #'describe-coding-system sym
"mouse-2, RET: describe this coding system")))
......@@ -1143,7 +1143,7 @@ that."
(help-xref-button
5 #'describe-input-method data
"mouse-2, RET: describe this input method")))
((coding-system-p sym)
((and sym (coding-system-p sym))
(help-xref-button
5 #'describe-coding-system sym
"mouse-2, RET: describe this coding system"))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment