summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2018-10-07 23:16:36 +0200
committerBram Moolenaar <Bram@vim.org>2018-10-07 23:16:36 +0200
commit6a2633b00bb00bcf0d994f08d1c54ace2c221b58 (patch)
treea319f2692684a8f44d912d84029286889ba8b83e /src/message.c
parent95ba5c364f097121b95879896b05ec737ecafd1c (diff)
downloadvim-git-6a2633b00bb00bcf0d994f08d1c54ace2c221b58.tar.gz
patch 8.1.0466: autocmd test failsv8.1.0466
Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/message.c b/src/message.c
index c7ecb6196..c2318bd8a 100644
--- a/src/message.c
+++ b/src/message.c
@@ -688,8 +688,8 @@ emsg(char_u *s)
if (p_eb)
beep_flush(); /* also includes flush_buffers() */
else
- flush_buffers(FALSE); /* flush internal buffers */
- did_emsg = TRUE; /* flag for DoOneCmd() */
+ flush_buffers(FLUSH_MINIMAL); // flush internal buffers
+ did_emsg = TRUE; // flag for DoOneCmd()
#ifdef FEAT_EVAL
did_uncaught_emsg = TRUE;
#endif