mirror of
https://github.com/vim/vim.git
synced 2025-09-27 04:14:06 -04:00
patch 7.4.1091
Problem: When making a change while need_wait_return is set there is a two second delay. Solution: Do not assume the ATTENTION prompt was given when need_wait_return was set already.
This commit is contained in:
@@ -2778,6 +2778,9 @@ changed()
|
||||
#endif
|
||||
)
|
||||
{
|
||||
int save_need_wait_return = need_wait_return;
|
||||
|
||||
need_wait_return = FALSE;
|
||||
ml_open_file(curbuf);
|
||||
|
||||
/* The ml_open_file() can cause an ATTENTION message.
|
||||
@@ -2791,6 +2794,8 @@ changed()
|
||||
wait_return(TRUE);
|
||||
msg_scroll = save_msg_scroll;
|
||||
}
|
||||
else
|
||||
need_wait_return = save_need_wait_return;
|
||||
}
|
||||
changed_int();
|
||||
}
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1091,
|
||||
/**/
|
||||
1090,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user