changeset 38636:c1dc55683398

(redisplay_internal): Add a check for the last displayed message.
author Gerd Moellmann <gerd@gnu.org>
date Wed, 01 Aug 2001 13:55:36 +0000
parents b6a0070476c7
children 4d180178bb00
files src/xdisp.c
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Aug 01 13:44:45 2001 +0000
+++ b/src/xdisp.c	Wed Aug 01 13:55:36 2001 +0000
@@ -8416,7 +8416,9 @@
      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;