]> git.eshelyaron.com Git - emacs.git/commitdiff
(direct_output_for_insert): Give up if we are showing
authorGerd Moellmann <gerd@gnu.org>
Thu, 22 Feb 2001 11:46:14 +0000 (11:46 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 22 Feb 2001 11:46:14 +0000 (11:46 +0000)
a message or just cleared the message because we might need to
resize the echo area window or display an empty echo area.

src/ChangeLog
src/dispnew.c

index 6345e0d7c4ee02ff0e0ba3f170871f346dac87c5..ae5187457d663f517e0bdaad8360ab1b0a1a8088 100644 (file)
@@ -1,3 +1,9 @@
+2001-02-22  Gerd Moellmann  <gerd@gnu.org>
+
+       * dispnew.c (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.
+
 2001-02-21  Gerd Moellmann  <gerd@gnu.org>
 
        * xdisp.c (redisplay_internal): Do the
index 337e3c9264a8e418216f3a6d0a06d8e447a0c4e1..2823b79c7b23b7c8884b8a8c00792d7599e58f41 100644 (file)
@@ -3416,6 +3416,10 @@ direct_output_for_insert (g)
       || 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.  */