Function: font-lock-extend-region-wholelines

font-lock-extend-region-wholelines is a byte-compiled function defined in font-lock.el.gz.

Signature

(font-lock-extend-region-wholelines)

Documentation

Move fontification boundaries to beginning of lines.

Source Code

;; Defined in /usr/src/emacs/lisp/font-lock.el.gz
(defun font-lock-extend-region-wholelines ()
  "Move fontification boundaries to beginning of lines."
  (let ((new (syntax-propertize-wholelines font-lock-beg font-lock-end)))
    (when new
      (setq font-lock-beg (car new))
      (setq font-lock-end (cdr new))
      t)))