Function: nxml-fontify-matcher
nxml-fontify-matcher is a byte-compiled function defined in
nxml-mode.el.gz.
Signature
(nxml-fontify-matcher BOUND)
Documentation
Called as font-lock keyword matcher.
Source Code
;; Defined in /usr/src/emacs/lisp/nxml/nxml-mode.el.gz
(defun nxml-fontify-matcher (bound)
"Called as font-lock keyword matcher."
(syntax-propertize bound)
(unless nxml-degraded
(nxml-debug-change "nxml-fontify-matcher" (point) bound)
(when (< (point) nxml-prolog-end)
;; Prolog needs to be fontified in one go, and
;; nxml-extend-region makes sure we start at BOB.
(cl-assert (bobp))
(nxml-fontify-prolog)
(goto-char nxml-prolog-end))
(let (xmltok-errors)
(while (and (nxml-tokenize-forward)
(<= (point) bound)) ; Intervals are open-ended.
(nxml-apply-fontify-rule)))
)
;; Since we did the fontification internally, tell font-lock to not
;; do anything itself.
nil)