diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-10-07 23:16:36 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-10-07 23:16:36 +0200 |
commit | 6a2633b00bb00bcf0d994f08d1c54ace2c221b58 (patch) | |
tree | a319f2692684a8f44d912d84029286889ba8b83e /src/message.c | |
parent | 95ba5c364f097121b95879896b05ec737ecafd1c (diff) | |
download | vim-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.c | 4 |
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 |