From: Gerd Moellmann Date: Fri, 29 Aug 2003 21:46:42 +0000 (+0000) Subject: (redisplay_internal): Fix change of 2003-04-30. Don't X-Git-Tag: ttn-vms-21-2-B4~8947 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6f68b035e5395a420f160600c8b1ea7c22abdf9b;p=emacs.git (redisplay_internal): Fix change of 2003-04-30. Don't tell redisplay display is accurate when it's actually been paused for pending input. --- diff --git a/src/ChangeLog b/src/ChangeLog index f5e744458ad..bd89e6d25b9 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2003-08-29 Gerd Moellmann + + * 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 * dispnew.c (adjust_glyph_matrix): Call window_box diff --git a/src/xdisp.c b/src/xdisp.c index a61ead4bef2..c825dd21d3d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -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))