changeset 36279:1e3dc8692936

(direct_output_for_insert): Give up if we are showing a message or just cleared the message because we might need to resize the echo area window or display an empty echo area.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 22 Feb 2001 11:45:47 +0000
parents 8487fd519144
children 3780eecdcd10
files src/dispnew.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dispnew.c	Thu Feb 22 11:18:28 2001 +0000
+++ b/src/dispnew.c	Thu Feb 22 11:45:47 2001 +0000
@@ -3416,6 +3416,10 @@
       || g == '\r'
       /* Give up if unable to display the cursor in the window.  */
       || w->cursor.vpos < 0
+      /* Give up if we are showing a message or just cleared the message
+	 because we might need to resize the echo area window.  */
+      || !NILP (echo_area_buffer[0])
+      || !NILP (echo_area_buffer[1])
       || (glyph_row = MATRIX_ROW (w->current_matrix, w->cursor.vpos),
 	  /* Can't do it in a continued line because continuation
 	     lines would change.  */