(redisplay_internal): Take message_cleared_p into
authorGerd Moellmann <gerd@gnu.org>
Thu, 2 Aug 2001 08:30:26 +0000 (08:30 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 2 Aug 2001 08:30:26 +0000 (08:30 +0000)
account only if minibuf_level == 0.

src/xdisp.c

index 8da52d6..5a0b9b6 100644 (file)
@@ -8418,7 +8418,7 @@ redisplay_internal (preserve_echo_area)
      the echo area should be cleared.  */
   if ((!NILP (echo_area_buffer[0]) && !display_last_displayed_message_p)
       || (!NILP (echo_area_buffer[1]) && display_last_displayed_message_p)
-      || message_cleared_p)
+      || (message_cleared_p && minibuf_level == 0))
     {
       int window_height_changed_p = echo_area_display (0);
       must_finish = 1;