mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 8.1.0466: autocmd test fails
Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user