summaryrefslogtreecommitdiff
path: root/src/xdisp.c
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>2001-08-01 13:55:36 +0000
committerGerd Moellmann <gerd@gnu.org>2001-08-01 13:55:36 +0000
commit5b6ae956f0fd547f2786d788538c21fa8e3560e4 (patch)
tree266c26feef7cb0d1b0415c72958424fbc96a938e /src/xdisp.c
parent8446b13711e35ef2d9d6c3d71216b94be337bdab (diff)
downloademacs-5b6ae956f0fd547f2786d788538c21fa8e3560e4.tar.gz
(redisplay_internal): Add a check for the last
displayed message.
Diffstat (limited to 'src/xdisp.c')
-rw-r--r--src/xdisp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 7e0a9eea5e4..8da52d6546e 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -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;