Mercurial > emacs
changeset 33068:a31c3787231b
(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.)
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Mon, 30 Oct 2000 15:23:41 +0000 |
parents | adc6c04ffe30 |
children | ea3e57d2e495 |
files | src/xdisp.c |
diffstat | 1 files changed, 5 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Mon Oct 30 15:21:36 2000 +0000 +++ b/src/xdisp.c Mon Oct 30 15:23:41 2000 +0000 @@ -6490,8 +6490,11 @@ 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;