Function: hywiki--maybe-dehighlight-at-point
hywiki--maybe-dehighlight-at-point is a byte-compiled function defined
in hywiki.el.
Signature
(hywiki--maybe-dehighlight-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.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki--maybe-dehighlight-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."
(when (or hywiki--buttonize-range
(and hywiki--word-pre-command
(not (equal hywiki--word-pre-command
(hywiki-get-singular-wikiword
(or (car hywiki--range)
(when (hywiki--buttonized-region-p)
(buffer-substring hywiki--buttonize-start
hywiki--buttonize-end))
(when (and (setq hywiki--range
(hywiki-word-get-range))
(nth 1 hywiki--range))
(prog1 (nth 1 hywiki--range)
(setq hywiki--range nil)))
))))))
;; Dehighlight if point is on or between a HyWikiWord
(hywiki-maybe-dehighlight-between-references)))