]> git.eshelyaron.com Git - emacs.git/commitdiff
(echo_area_display): Don't perform a display update from
authorGerd Moellmann <gerd@gnu.org>
Mon, 30 Oct 2000 15:26:46 +0000 (15:26 +0000)
committerGerd Moellmann <gerd@gnu.org>
Mon, 30 Oct 2000 15:26:46 +0000 (15:26 +0000)
inside redisplay.  The update will happen anyway at the end of
redisplay, and it can confuse redisplay (GC messages while
redisplaying, for instance.)

src/ChangeLog
src/xdisp.c

index fb30f46ef5fa502bc914bbd6ed2804f2ca5dced3..27830a88e072bfd3b5ddd60b4918bc651ecfbfde 100644 (file)
@@ -1,3 +1,10 @@
+2000-10-30  Gerd Moellmann  <gerd@gnu.org>
+
+       * 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  <monnier@cs.yale.edu>
 
        * regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
index f229198d8f4ddf5958f79f46cf09a77047093d8d..e6149e4a453c938ecdf02346e2ecaa74bdb6c5ea 100644 (file)
@@ -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;