]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fset_buffer_modified_p): Set buffer's
authorGerd Moellmann <gerd@gnu.org>
Tue, 16 Jan 2001 14:21:59 +0000 (14:21 +0000)
committerGerd Moellmann <gerd@gnu.org>
Tue, 16 Jan 2001 14:21:59 +0000 (14:21 +0000)
prevent_redisplay_optimizations_p flag.

src/ChangeLog
src/buffer.c

index 2130b169cda93f165d21d741649c9f9d749f24a7..7ace1db772e70bab9fbd0dd0887c2633b6733548 100644 (file)
@@ -1,5 +1,8 @@
 2001-01-16  Gerd Moellmann  <gerd@gnu.org>
 
+       * buffer.c (Fset_buffer_modified_p): Set buffer's
+       prevent_redisplay_optimizations_p flag.
+
        * dispnew.c, callproc.c, fns.c, keyboard.c, process.c, sunfns.c,
        * sysdep.c, vmsproc.c, xselect.c: Call
        redisplay_preserve_echo_area with additional arg.
index e3f769ab41bf2a7e0acd1b861dd4d9a87215fcb2..f019863e80b92fddf2af580496a39895106467a8 100644 (file)
@@ -894,7 +894,10 @@ A non-nil FLAG means mark the buffer modified.")
   XSETBUFFER (buffer, current_buffer);
   window = Fget_buffer_window (buffer, Qt);
   if (WINDOWP (window))
-    update_mode_lines++;
+    {
+      ++update_mode_lines;
+      current_buffer->prevent_redisplay_optimizations_p = 1;
+    }
   
   return flag;
 }