Function: hywiki-maybe-highlight-on-reference
hywiki-maybe-highlight-on-reference is a byte-compiled function
defined in hywiki.el.
Signature
(hywiki-maybe-highlight-on-reference)
Documentation
Highlight any non-Org link HyWiki page#section at or one char before point.
If not on a whitespace character, handle highlighting for any page/section name or punctuation.
If in a programming mode, must be within a comment. Use
hywiki-word-face to highlight. Do not highlight references to
the current page unless they have sections attached.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-maybe-highlight-on-reference ()
"Highlight any non-Org link HyWiki page#section at or one char before point.
If not on a whitespace character, handle highlighting for any page/section
name or punctuation.
If in a programming mode, must be within a comment. Use
`hywiki-word-face' to highlight. Do not highlight references to
the current page unless they have sections attached."
(hywiki-maybe-highlight-reference
;; flag on-reference if not on a whitespace character
(and (/= (point) (point-max))
(/= (if (char-after) (char-syntax (char-after)) 0) ? ))))