Function: org-looking-at-fontified

org-looking-at-fontified is a byte-compiled function defined in org-macs.el.gz.

Signature

(org-looking-at-fontified RE)

Documentation

Call looking-at RE and make sure that the match is fontified.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-macs.el.gz
(defun org-looking-at-fontified (re)
  "Call `looking-at' RE and make sure that the match is fontified."
  (prog1 (looking-at re)
    (when (bound-and-true-p jit-lock-mode)
      (when (text-property-not-all
             (match-beginning 0) (match-end 0)
             'fontified t)
        (save-excursion
          (save-match-data
            (font-lock-fontify-region (match-beginning 0)
                              (match-end 0))))))))