Function: hyrolo-highlight-matches

hyrolo-highlight-matches is a byte-compiled function defined in hyrolo.el.

Signature

(hyrolo-highlight-matches REGEXP START END)

Documentation

Highlight matches for REGEXP in region from START to END.

Source Code

;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hyrolo.el
(defun hyrolo-highlight-matches (regexp start end)
  "Highlight matches for REGEXP in region from START to END."
  (when (fboundp 'hproperty:but-add)
    (let ((hproperty:but-emphasize-flag))
      (save-excursion
	(goto-char start)
	(while (re-search-forward regexp end t)
	  (hproperty:but-add (match-beginning 0) (match-end 0)
			     (or hyrolo-highlight-face
				 hproperty:highlight-face)))))))