Function: hywiki-maybe-dehighlight-off-reference

hywiki-maybe-dehighlight-off-reference is a byte-compiled function defined in hywiki.el.

Signature

(hywiki-maybe-dehighlight-off-reference)

Documentation

Dehighlight any non-Org link HyWiki page#section at or one char before point.

If on a whitespace character or at end of buffer, handle dehighlighting for any previous word or punctuation. If in a programming mode, must be within a comment.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-maybe-dehighlight-off-reference ()
  "Dehighlight any non-Org link HyWiki page#section at or one char before point.
If on a whitespace character or at end of buffer, handle
dehighlighting for any previous word or punctuation.  If
in a programming mode, must be within a comment."
  ;; Dehighlight any page name at point
  (hywiki-maybe-dehighlight-reference
   ;; Flag on-page-name if on a whitespace character
   (or (= (point) (point-max))
       (= (if (char-after) (char-syntax (char-after)) 0) ? ))))