vim-patch:7.4.410

Problem:    Fold does not open after search when there is a CmdwinLeave
            autocommand.
Solution:   Restore KeyTyped. (Jacob Niehus)

https://code.google.com/p/vim/source/detail?r=v7-4-410
This commit is contained in:
Shougo Matsushita 2014-09-18 20:29:52 +09:00
parent 53d15c2c25
commit 102af4f823
2 changed files with 6 additions and 1 deletions

View File

@ -5200,9 +5200,14 @@ static int ex_window(void)
RedrawingDisabled = i;
int save_KeyTyped = KeyTyped;
/* Trigger CmdwinLeave autocommands. */
apply_autocmds(EVENT_CMDWINLEAVE, typestr, typestr, FALSE, curbuf);
/* Restore KeyTyped in case it is modified by autocommands */
KeyTyped = save_KeyTyped;
/* Restore the command line info. */
ccline = save_ccline;
cmdwin_type = 0;

View File

@ -185,7 +185,7 @@ static char *(features[]) = {
static int included_patches[] = {
// Add new patch number below this line
//410,
410,
//409 NA
//408,
//407,