Variable: font-lock-ensure-function

font-lock-ensure-function is a variable defined in font-lock.el.gz.

Value

#[514 "?\205�\212\301\")\207"
      [font-lock-fontified font-lock-fontify-region] 5
      ("font-lock.elc" . 28708)]

Documentation

Function to make sure a region has been fontified.

Called with two arguments BEG and END.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/font-lock.el.gz
(defvar font-lock-ensure-function
  (lambda (beg end)
    (unless font-lock-fontified
      (save-excursion
        (font-lock-fontify-region beg end))))
  "Function to make sure a region has been fontified.
Called with two arguments BEG and END.")