Function: font-lock-flush

font-lock-flush is a byte-compiled function defined in font-lock.el.gz.

Signature

(font-lock-flush &optional BEG END)

Documentation

Declare the region BEG...END's fontification as out-of-date.

If the region is not specified, it defaults to the entire accessible portion of the current buffer.

View in manual

Probably introduced at or before Emacs version 25.1.

Source Code

;; Defined in /usr/src/emacs/lisp/font-lock.el.gz
(defun font-lock-flush (&optional beg end)
  "Declare the region BEG...END's fontification as out-of-date.
If the region is not specified, it defaults to the entire
accessible portion of the current buffer."
  (and font-lock-mode
       font-lock-fontified
       (funcall font-lock-flush-function
                (or beg (point-min)) (or end (point-max)))))