Function: hywiki-maybe-highlight-wikiwords-in-frame

hywiki-maybe-highlight-wikiwords-in-frame is a byte-compiled function defined in hywiki.el.

Signature

(hywiki-maybe-highlight-wikiwords-in-frame FRAME &optional SKIP-LOOKUPS-UPDATE-FLAG)

Documentation

Highlight all non-Org link HyWiki references displayed in FRAME.

Do not highlight references to the current page unless they have sections attached.

If FRAME is t, then highlight in all windows across all frames, even invisible ones. With optional SKIP-LOOKUPS-UPDATE-FLAG non-nil, HyWiki lookup tables should have already been updated and this is skipped.

Use hywiki-word-face to highlight.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
(defun hywiki-maybe-highlight-wikiwords-in-frame (frame &optional skip-lookups-update-flag)
  "Highlight all non-Org link HyWiki references displayed in FRAME.
Do not highlight references to the current page unless they have
sections attached.

If FRAME is t, then highlight in all windows across all frames, even
invisible ones.  With optional SKIP-LOOKUPS-UPDATE-FLAG non-nil, HyWiki
lookup tables should have already been updated and this is skipped.

Use `hywiki-word-face' to highlight."
  (walk-windows
   (lambda (window)
     ;; Skip child/popup/posframe windows; use only top-level frame windows
     (unless (frame-parent (window-frame window))
       (with-selected-window window
         ;; Display buffer before `normal-mode' triggers possibly
         ;; long-running font-locking
         (sit-for 0)
         (hywiki-maybe-highlight-references nil nil skip-lookups-update-flag))))
   nil frame)
  (hywiki-maybe-directory-updated))