aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2001-08-01 13:55:36 +0000
committerGerd Moellmann2001-08-01 13:55:36 +0000
commit96d5e9a031616d7ac4f7ab9417a49ec92f077bdc (patch)
tree8a990373439e45e46bcf86cc34d147035cdd0b01 /src
parent39e72e557e1674a915c79a6b076517ecf8e311e7 (diff)
downloademacs-96d5e9a031616d7ac4f7ab9417a49ec92f077bdc.tar.gz
emacs-96d5e9a031616d7ac4f7ab9417a49ec92f077bdc.zip
(redisplay_internal): Add a check for the last
displayed message.
Diffstat (limited to 'src')
-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)
8416 the update may have been preempted, so display the echo area 8416 the update may have been preempted, so display the echo area
8417 again here. Checking message_cleared_p captures the case that 8417 again here. Checking message_cleared_p captures the case that
8418 the echo area should be cleared. */ 8418 the echo area should be cleared. */
8419 if (!NILP (echo_area_buffer[0]) || message_cleared_p) 8419 if ((!NILP (echo_area_buffer[0]) && !display_last_displayed_message_p)
8420 || (!NILP (echo_area_buffer[1]) && display_last_displayed_message_p)
8421 || message_cleared_p)
8420 { 8422 {
8421 int window_height_changed_p = echo_area_display (0); 8423 int window_height_changed_p = echo_area_display (0);
8422 must_finish = 1; 8424 must_finish = 1;