Index: emacs/lisp/jit-lock.el
diff -c emacs/lisp/jit-lock.el:1.38 emacs/lisp/jit-lock.el:1.39
*** emacs/lisp/jit-lock.el:1.38 Thu May 19 19:06:18 2005
--- emacs/lisp/jit-lock.el      Sun May 29 08:40:37 2005
***************
*** 298,304 ****
    "Fontify current buffer starting at position START.
  This function is added to `fontification-functions' when `jit-lock-mode'
  is active."
!   (when jit-lock-mode
      (if (null jit-lock-defer-time)
        ;; No deferral.
        (jit-lock-fontify-now start (+ start jit-lock-chunk-size))
--- 298,304 ----
    "Fontify current buffer starting at position START.
  This function is added to `fontification-functions' when `jit-lock-mode'
  is active."
!   (when (and jit-lock-mode (not (memory-full-p)))
      (if (null jit-lock-defer-time)
        ;; No deferral.
        (jit-lock-fontify-now start (+ start jit-lock-chunk-size))
***************
*** 540,546 ****
  This function ensures that lines following the change will be refontified
  in case the syntax of those lines has changed.  Refontification
  will take place when text is fontified stealthily."
!   (when jit-lock-mode
      (save-excursion
        (with-buffer-prepared-for-jit-lock
         ;; It's important that the `fontified' property be set from the
--- 540,546 ----
  This function ensures that lines following the change will be refontified
  in case the syntax of those lines has changed.  Refontification
  will take place when text is fontified stealthily."
!   (when (and jit-lock-mode (not (memory-full-p)))
      (save-excursion
        (with-buffer-prepared-for-jit-lock
         ;; It's important that the `fontified' property be set from the


_______________________________________________
Emacs-diffs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-diffs

Reply via email to