For example, the docs for completing-read contain this text:
COLLECTION, and PREDICATE. See also Info node ‘(elisp)Basic Completion’
for the details about completion, and Info node ‘(elisp)Programmed
Completion’ for expectations from COLLECTION when it’s a function.
If I place my cursor within second info reference and invoke describe-char, I get this output:
There are text properties here:
button (t)
category helpful-info-button-button
info-node "(elisp)Programmed\nCompletion"
For example, the docs for
completing-read
contain this text:If I place my cursor within second info reference and invoke
describe-char
, I get this output:This is what vanilla help does to prevent this:
https://github.com/emacs-mirror/emacs/blob/869579170b87b06dd802b563417a69564c82f559/lisp/help-mode.el#L543-L544