emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: jit-lock refontifies too much


From: Richard M. Stallman
Subject: Re: jit-lock refontifies too much
Date: Mon, 19 Sep 2005 20:03:11 -0400

Are you going to install this patch?

--- orig/lisp/font-lock.el
+++ mod/lisp/font-lock.el
@@ -1058,7 +1058,8 @@
                                           'font-lock-multiline nil)
                        (point-max)))
          (goto-char end)
-         (setq end (line-beginning-position 2))
+          ;; Round up to a whole line.
+          (unless (bolp) (setq end (line-beginning-position 2)))
          ;; Now do the fontification.
          (font-lock-unfontify-region beg end)
          (when font-lock-syntactic-keywords




reply via email to

[Prev in Thread] Current Thread [Next in Thread]