Function: hywiki-map-words

hywiki-map-words is an autoloaded and byte-compiled function defined in hywiki.el.

Signature

(hywiki-map-words FUNC)

Documentation

Apply FUNC across highlighted HyWikiWords in the current buffer and return nil.

This temporarily expands the buffer so all HyWikiWord references are processed. FUNC takes 1 argument, the Emacs overlay for each HyWikiWord reference, including its optional #section.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hywiki.el
;;;###autoload
(defun hywiki-map-words (func)
  "Apply FUNC across highlighted HyWikiWords in the current buffer and return nil.
This temporarily expands the buffer so all HyWikiWord references are processed.
FUNC takes 1 argument, the Emacs overlay for each HyWikiWord reference,
including its optional #section."
  (save-excursion
    (save-restriction
      (widen)
      (mapc func (hproperty:but-get-all-in-region
		  (point-min) (point-max) 'face hywiki-word-face))))
  nil)