aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann1999-09-16 12:52:13 +0000
committerGerd Moellmann1999-09-16 12:52:13 +0000
commitd2d2ddaf52944302615f87b7a88ce06979656c04 (patch)
tree1ebbbc3c229fc8f124a81245eed1531b7cb45fb1 /src
parentbb10ca93487875e14ced0d347aac97fafda08c50 (diff)
downloademacs-d2d2ddaf52944302615f87b7a88ce06979656c04.tar.gz
emacs-d2d2ddaf52944302615f87b7a88ce06979656c04.zip
(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.
Diffstat (limited to 'src')
-rw-r--r--src/dispnew.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/dispnew.c b/src/dispnew.c
index 87ad3de2e07..695c3f808f1 100644
--- a/src/dispnew.c
+++ b/src/dispnew.c
@@ -3278,6 +3278,15 @@ direct_output_forward_char (n)
3278 if (!NILP (Vshow_trailing_whitespace)) 3278 if (!NILP (Vshow_trailing_whitespace))
3279 return 0; 3279 return 0;
3280 3280
3281 /* Give up if we are showing a message or just cleared the message
3282 because we might need to resize the echo area window. */
3283 if (!NILP (echo_area_buffer[0]) || !NILP (echo_area_buffer[1]))
3284 return 0;
3285
3286 /* Give up if we don't know where the cursor is. */
3287 if (w->cursor.vpos < 0)
3288 return 0;
3289
3281 row = MATRIX_ROW (w->current_matrix, w->cursor.vpos); 3290 row = MATRIX_ROW (w->current_matrix, w->cursor.vpos);
3282 3291
3283 if (PT <= MATRIX_ROW_START_BYTEPOS (row) 3292 if (PT <= MATRIX_ROW_START_BYTEPOS (row)