(redisplay_internal): Fix change of 2003-04-30. Don't
authorGerd Moellmann <gerd@gnu.org>
Fri, 29 Aug 2003 21:46:42 +0000 (21:46 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 29 Aug 2003 21:46:42 +0000 (21:46 +0000)
tell redisplay display is accurate when it's actually been paused
for pending input.

src/ChangeLog
src/xdisp.c

index f5e7444..bd89e6d 100644 (file)
@@ -1,3 +1,9 @@
+2003-08-29  Gerd Moellmann  <gerd.moellmann@t-online.de>
+
+       * xdisp.c (redisplay_internal): Fix change of 2003-04-30.  Don't
+       tell redisplay display is accurate when it's actually been paused
+       for pending input.
+
 2003-08-29  Richard M. Stallman  <rms@gnu.org>
 
        * dispnew.c (adjust_glyph_matrix): Call window_box
index a61ead4..c825dd2 100644 (file)
@@ -10069,15 +10069,18 @@ redisplay_internal (preserve_echo_area)
            }
        }
 
-      /* Do the mark_window_display_accurate after all windows have
-        been redisplayed because this call resets flags in buffers
-        which are needed for proper redisplay.  */
-      for (i = 0; i < n; ++i)
-       {
-         struct frame *f = updated[i];
-         mark_window_display_accurate (f->root_window, 1);
-         if (frame_up_to_date_hook)
-           frame_up_to_date_hook (f);
+      if (!pause)
+       {
+         /* Do the mark_window_display_accurate after all windows have
+            been redisplayed because this call resets flags in buffers
+            which are needed for proper redisplay.  */
+         for (i = 0; i < n; ++i)
+           {
+             struct frame *f = updated[i];
+             mark_window_display_accurate (f->root_window, 1);
+             if (frame_up_to_date_hook)
+               frame_up_to_date_hook (f);
+           }
        }
     }
   else if (FRAME_VISIBLE_P (sf) && !FRAME_OBSCURED_P (sf))