]> git.eshelyaron.com Git - emacs.git/commitdiff
(with-buffer-prepared-for-font-lock): Add comment
authorGerd Moellmann <gerd@gnu.org>
Mon, 20 Mar 2000 12:30:55 +0000 (12:30 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 20 Mar 2000 12:30:55 +0000 (12:30 +0000)
about behavior of set-buffer-modified-p wrt redisplay.

lisp/jit-lock.el

index 3798566845dd2fcc3902ad07684480acfff88da5..217407f8fe5afb020521fa039535ae46f2d8e6bf 100644 (file)
@@ -46,6 +46,8 @@ Preserves the `buffer-modified-p' state of the current buffer."
           buffer-file-name
           buffer-file-truename)
        ,@body
+       ;; Calling set-buffer-modified causes redisplay to consider
+       ;; all windows because that function sets update_mode_lines.
        (set-buffer-modified-p modified))))