Skip to content

Commit b01f357

Browse files
committed
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.
1 parent b569079 commit b01f357

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

src/misc1.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2778,6 +2778,9 @@ changed()
27782778
#endif
27792779
)
27802780
{
2781+
int save_need_wait_return = need_wait_return;
2782+
2783+
need_wait_return = FALSE;
27812784
ml_open_file(curbuf);
27822785

27832786
/* The ml_open_file() can cause an ATTENTION message.
@@ -2791,6 +2794,8 @@ changed()
27912794
wait_return(TRUE);
27922795
msg_scroll = save_msg_scroll;
27932796
}
2797+
else
2798+
need_wait_return = save_need_wait_return;
27942799
}
27952800
changed_int();
27962801
}

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
1091,
744746
/**/
745747
1090,
746748
/**/

0 commit comments

Comments
 (0)