From 7ff02969b892366f4a5037a1fe91e86da33c4c15 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Mon, 20 Mar 2000 12:30:55 +0000 Subject: [PATCH] (with-buffer-prepared-for-font-lock): Add comment about behavior of set-buffer-modified-p wrt redisplay. --- lisp/jit-lock.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/jit-lock.el b/lisp/jit-lock.el index 3798566845d..217407f8fe5 100644 --- a/lisp/jit-lock.el +++ b/lisp/jit-lock.el @@ -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)))) -- 2.39.5