Commit d2d2ddaf authored by Gerd Moellmann's avatar Gerd Moellmann

(direct_output_forward_char): Don't use this method

if showing a message or a message was just cleared because we
might need to resize the mini-window.
parent bb10ca93
......@@ -3278,6 +3278,15 @@ direct_output_forward_char (n)
if (!NILP (Vshow_trailing_whitespace))
return 0;
/* Give up if we are showing a message or just cleared the message
because we might need to resize the echo area window. */
if (!NILP (echo_area_buffer[0]) || !NILP (echo_area_buffer[1]))
return 0;
/* Give up if we don't know where the cursor is. */
if (w->cursor.vpos < 0)
return 0;
row = MATRIX_ROW (w->current_matrix, w->cursor.vpos);
if (PT <= MATRIX_ROW_START_BYTEPOS (row)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment