Variable: font-lock-fontify-region-function

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

Value

font-lock-default-fontify-region

Documentation

Function to use for fontifying a region.

It should take two args, the beginning and end of the region, and an optional third arg VERBOSE. If VERBOSE is non-nil, the function should print status messages. This is normally set via font-lock-defaults. If it fontifies a larger region, it should ideally return a list of the form
(jit-lock-bounds BEG . END) indicating the bounds of the region actually
fontified.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/font-lock.el.gz
(defvar font-lock-fontify-region-function #'font-lock-default-fontify-region
  "Function to use for fontifying a region.
It should take two args, the beginning and end of the region, and an optional
third arg VERBOSE.  If VERBOSE is non-nil, the function should print status
messages.  This is normally set via `font-lock-defaults'.
If it fontifies a larger region, it should ideally return a list of the form
\(jit-lock-bounds BEG . END) indicating the bounds of the region actually
fontified.")