Mercurial > emacs
comparison src/xdisp.c @ 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 | ae77d25eb5cc |
children | 0bf558900e0a |
comparison
equal
deleted
inserted
replaced
38635:b6a0070476c7 | 38636:c1dc55683398 |
---|---|
8414 /* Normally the message* functions will have already displayed and | 8414 /* Normally the message* functions will have already displayed and |
8415 updated the echo area, but the frame may have been trashed, or | 8415 updated the echo area, but the frame may have been trashed, or |
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; |
8423 | 8425 |
8424 /* If we don't display the current message, don't clear the | 8426 /* If we don't display the current message, don't clear the |