]> git.eshelyaron.com Git - emacs.git/commitdiff
(redisplay_internal): Add a check for the last
authorGerd Moellmann <gerd@gnu.org>
Wed, 1 Aug 2001 13:55:36 +0000 (13:55 +0000)
committerGerd Moellmann <gerd@gnu.org>
Wed, 1 Aug 2001 13:55:36 +0000 (13:55 +0000)
displayed message.

src/xdisp.c

index 7e0a9eea5e4438073ed0f31426ffdc3f7682c16a..8da52d6546e526f9f814700be5f5f7fcd8b7a5b0 100644 (file)
@@ -8416,7 +8416,9 @@ redisplay_internal (preserve_echo_area)
      the update may have been preempted, so display the echo area
      again here.  Checking message_cleared_p captures the case that
      the echo area should be cleared.  */
-  if (!NILP (echo_area_buffer[0]) || message_cleared_p)
+  if ((!NILP (echo_area_buffer[0]) && !display_last_displayed_message_p)
+      || (!NILP (echo_area_buffer[1]) && display_last_displayed_message_p)
+      || message_cleared_p)
     {
       int window_height_changed_p = echo_area_display (0);
       must_finish = 1;