Function: markdown-match-propertized-text
markdown-match-propertized-text is a byte-compiled function defined in
markdown-mode.el.
Signature
(markdown-match-propertized-text PROPERTY LAST)
Documentation
Match text with PROPERTY from point to LAST.
Restore match data previously stored in PROPERTY.
Source Code
;; Defined in ~/.emacs.d/elpa/markdown-mode-20260321.143/markdown-mode.el
(defun markdown-match-propertized-text (property last)
"Match text with PROPERTY from point to LAST.
Restore match data previously stored in PROPERTY."
(let ((saved (get-text-property (point) property))
pos)
(unless saved
(setq pos (next-single-property-change (point) property nil last))
(unless (= pos last)
(setq saved (get-text-property pos property))))
(when saved
(set-match-data saved)
;; Step at least one character beyond point. Otherwise
;; `font-lock-fontify-keywords-region' infloops.
(goto-char (min (1+ (max (match-end 0) (point)))
(point-max)))
saved)))