mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(help-make-xrefs): Don't make hyperlinks for incorrect coding systems.
This commit is contained in:
parent
9941d4c717
commit
880c345e7d
@ -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"))
|
||||
|
Loading…
Reference in New Issue
Block a user