Function: org-buffer-substring-fontified

org-buffer-substring-fontified is a byte-compiled function defined in org-macs.el.gz.

Signature

(org-buffer-substring-fontified BEG END)

Documentation

Return fontified region between BEG and END.

Source Code

;; Defined in /usr/src/emacs/lisp/org/org-macs.el.gz
(defun org-buffer-substring-fontified (beg end)
  "Return fontified region between BEG and END."
  (when (bound-and-true-p jit-lock-mode)
    (when (text-property-not-all beg end 'fontified t)
      (save-excursion (save-match-data (font-lock-fontify-region beg end)))))
  (buffer-substring beg end))