From: Gerd Moellmann Date: Mon, 20 Mar 2000 12:30:55 +0000 (+0000) Subject: (with-buffer-prepared-for-font-lock): Add comment X-Git-Tag: emacs-pretest-21.0.90~4589 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7ff02969b892366f4a5037a1fe91e86da33c4c15;p=emacs.git (with-buffer-prepared-for-font-lock): Add comment about behavior of set-buffer-modified-p wrt redisplay. --- 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))))