Function: hywiki--maybe-rehighlight-at-point
hywiki--maybe-rehighlight-at-point is a byte-compiled function defined
in hywiki.el.
Signature
(hywiki--maybe-rehighlight-at-point)
Documentation
Dehighlight any existing HyWikiWord when needed.
That is, only if the editing command has changed the word-only part of the HyWikiWord reference.
This must be called within a save-excursion or it may move point.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki--maybe-rehighlight-at-point ()
"Dehighlight any existing HyWikiWord when needed.
That is, only if the editing command has changed the word-only part of
the HyWikiWord reference.
This must be called within a `save-excursion' or it may move point."
(hywiki--maybe-dehighlight-at-point)
;; Highlight wikiwords around point as needed
(hywiki-maybe-highlight-on-reference)
(when (hywiki--buttonized-region-p)
(hywiki--maybe-de/highlight-sexp
#'hywiki-maybe-highlight-references 1
hywiki--buttonize-start hywiki--buttonize-end))
(when (= (char-syntax (or (char-before) 0)) ?\ )
(goto-char (1- (point))))
(hywiki-maybe-highlight-between-references))