Skip to content

Commit 5f8a14b

Browse files
committed
patch 7.4.1151
Problem: Missing change to eval.c Solution: Also change feedkeys().
1 parent 2528163 commit 5f8a14b

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/eval.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10960,6 +10960,7 @@ f_feedkeys(argvars, rettv)
1096010960
char_u *keys, *flags;
1096110961
char_u nbuf[NUMBUFLEN];
1096210962
int typed = FALSE;
10963+
int execute = FALSE;
1096310964
char_u *keys_esc;
1096410965

1096510966
/* This is not allowed in the sandbox. If the commands would still be
@@ -10982,6 +10983,7 @@ f_feedkeys(argvars, rettv)
1098210983
case 'm': remap = TRUE; break;
1098310984
case 't': typed = TRUE; break;
1098410985
case 'i': insert = TRUE; break;
10986+
case 'x': execute = TRUE; break;
1098510987
}
1098610988
}
1098710989
}
@@ -10996,6 +10998,8 @@ f_feedkeys(argvars, rettv)
1099610998
vim_free(keys_esc);
1099710999
if (vgetc_busy)
1099811000
typebuf_was_filled = TRUE;
11001+
if (execute)
11002+
exec_normal(TRUE);
1099911003
}
1100011004
}
1100111005
}

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+
1151,
744746
/**/
745747
1150,
746748
/**/

0 commit comments

Comments
 (0)