Function: htmlize-next-change

htmlize-next-change is a byte-compiled function defined in htmlize.el.

Signature

(htmlize-next-change POS PROP &optional LIMIT)

Source Code

;; Defined in ~/.emacs.d/elpa/htmlize-20250724.1703/htmlize.el
;;; Some cross-Emacs compatibility.

;; We need a function that efficiently finds the next change of a
;; property regardless of whether the change occurred because of a
;; text property or an extent/overlay.
(defun htmlize-next-change (pos prop &optional limit)
  (if prop
      (next-single-char-property-change pos prop nil limit)
    (next-char-property-change pos limit)))