diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/dispnew.c | 9 |
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) |