From: Gerd Moellmann Date: Mon, 30 Oct 2000 15:26:46 +0000 (+0000) Subject: (echo_area_display): Don't perform a display update from X-Git-Tag: emacs-pretest-21.0.90~413 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d4358b37bec6762190437fc14a5a4fbc1b894465;p=emacs.git (echo_area_display): Don't perform a display update from inside redisplay. The update will happen anyway at the end of redisplay, and it can confuse redisplay (GC messages while redisplaying, for instance.) --- diff --git a/src/ChangeLog b/src/ChangeLog index fb30f46ef5f..27830a88e07 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,10 @@ +2000-10-30 Gerd Moellmann + + * xdisp.c (echo_area_display): Don't perform a display update from + inside redisplay. The update will happen anyway at the end of + redisplay, and it can confuse redisplay (GC messages while + redisplaying, for instance.) + 2000-10-30 Stefan Monnier * regex.c (re_iswctype, re_wctype_to_bit): Fix braino. diff --git a/src/xdisp.c b/src/xdisp.c index f229198d8f4..e6149e4a453 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -6490,8 +6490,11 @@ echo_area_display (update_frame_p) window_height_changed_p = display_echo_area (w); w->must_be_updated_p = 1; - /* Update the display, unless called from redisplay_internal. */ - if (update_frame_p) + /* Update the display, unless called from redisplay_internal. + Also don't update the screen during redisplay itself. The + update will happen at the end of redisplay, and an update + here could cause confusion. */ + if (update_frame_p && !redisplaying_p) { int n = 0;