mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
updated for version 7.3.912
Problem: Typing a ":" command at the hit-enter dialog does not work if the "file changed" dialog happens next. Solution: Check for changed files before giving the hit-enter dialog.
This commit is contained in:
@@ -939,6 +939,12 @@ wait_return(redraw)
|
||||
#ifdef USE_ON_FLY_SCROLL
|
||||
dont_scroll = TRUE; /* disallow scrolling here */
|
||||
#endif
|
||||
/* Avoid the sequence that the user types ":" at the hit-return prompt
|
||||
* to start an Ex command, but the file-changed dialog gets in the
|
||||
* way. */
|
||||
if (need_check_timestamps)
|
||||
check_timestamps(FALSE);
|
||||
|
||||
hit_return_msg();
|
||||
|
||||
do
|
||||
|
Reference in New Issue
Block a user