diff src/memline.c @ 14909:c97b4b537572 v8.1.0466

patch 8.1.0466: autocmd test fails commit https://github.com/vim/vim/commit/6a2633b00bb00bcf0d994f08d1c54ace2c221b58 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Oct 7 23:16:36 2018 +0200 patch 8.1.0466: autocmd test fails Problem: Autocmd test fails. Solution: Do call inchar() when flushing typeahead.
author Bram Moolenaar <Bram@vim.org>
date Sun, 07 Oct 2018 23:30:06 +0200
parents c1ee9f32bec3
children 95400980f7c9
line wrap: on
line diff
--- a/src/memline.c
+++ b/src/memline.c
@@ -4522,7 +4522,7 @@ findswapname(
 
 			// If vimrc has "simalt ~x" we don't want it to
 			// interfere with the prompt here.
-			flush_buffers(TRUE);
+			flush_buffers(FLUSH_TYPEAHEAD);
 		    }
 
 #if defined(FEAT_GUI_DIALOG) || defined(FEAT_CON_DIALOG)