Function: lazy-lock-defer-rest-after-change

lazy-lock-defer-rest-after-change is a byte-compiled function defined in lazy-lock.el.gz.

Signature

(lazy-lock-defer-rest-after-change BEG END OLD-LEN)

Source Code

;; Defined in /usr/src/emacs/lisp/obsolete/lazy-lock.el.gz
(defun lazy-lock-defer-rest-after-change (beg _end _old-len)
  ;; Called from `after-change-functions'.
  ;; Defer fontification of the rest of the buffer.  Save the current buffer so
  ;; that we subsequently fontify in all windows showing the buffer.
  (with-silent-modifications
    (unless (memq (current-buffer) lazy-lock-buffers)
      (push (current-buffer) lazy-lock-buffers))
    (save-restriction
      (widen)
      (remove-text-properties (max (1- beg) (point-min))
			      (point-max)
			      '(lazy-lock nil)))))