]> code.delx.au - gnu-emacs/commit
(Man-hyphenated-reference-regexp): New variable.
authorEli Zaretskii <eliz@gnu.org>
Tue, 6 Mar 2001 13:42:06 +0000 (13:42 +0000)
committerEli Zaretskii <eliz@gnu.org>
Tue, 6 Mar 2001 13:42:06 +0000 (13:42 +0000)
commitfb925bd896938768c4b9214687ba8fcdcedef812
tree01ca2fc8decf85919d3d821625c6506e67059c1e
parentdaecec4e85e10d2ef83649712a0fa429286d836c
(Man-hyphenated-reference-regexp): New variable.
(Man-build-references-alist): Use it to search for referenced
manpages.  If hyphenated is non-nil, record a concatenated word in
Man-refpages-alist only if it matches Man-reference-regexp.
Update word's length when it is concatenated.  Reverse the list,
to get the first manpage at the head.
(Man-possibly-hyphenated-word): New function.
(Man-follow-manual-reference): Use it instead of current-word to
find a manpage at point, in a way that accounts for hyphenated
references.
lisp/man.el