From: Gerd Moellmann Date: Thu, 22 Feb 2001 11:46:14 +0000 (+0000) Subject: (direct_output_for_insert): Give up if we are showing X-Git-Tag: emacs-pretest-21.0.99~222 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c224f70be54de9209dd98bf0fdd7030e7414a756;p=emacs.git (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. --- diff --git a/src/ChangeLog b/src/ChangeLog index 6345e0d7c4e..ae5187457d6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +2001-02-22 Gerd Moellmann + + * 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 * xdisp.c (redisplay_internal): Do the diff --git a/src/dispnew.c b/src/dispnew.c index 337e3c9264a..2823b79c7b2 100644 --- a/src/dispnew.c +++ b/src/dispnew.c @@ -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. */