mirror of
https://github.com/vim/vim.git
synced 2025-09-23 03:43:49 -04:00
patch 7.4.1151
Problem: Missing change to eval.c Solution: Also change feedkeys().
This commit is contained in:
@@ -10960,6 +10960,7 @@ f_feedkeys(argvars, rettv)
|
||||
char_u *keys, *flags;
|
||||
char_u nbuf[NUMBUFLEN];
|
||||
int typed = FALSE;
|
||||
int execute = FALSE;
|
||||
char_u *keys_esc;
|
||||
|
||||
/* This is not allowed in the sandbox. If the commands would still be
|
||||
@@ -10982,6 +10983,7 @@ f_feedkeys(argvars, rettv)
|
||||
case 'm': remap = TRUE; break;
|
||||
case 't': typed = TRUE; break;
|
||||
case 'i': insert = TRUE; break;
|
||||
case 'x': execute = TRUE; break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -10996,6 +10998,8 @@ f_feedkeys(argvars, rettv)
|
||||
vim_free(keys_esc);
|
||||
if (vgetc_busy)
|
||||
typebuf_was_filled = TRUE;
|
||||
if (execute)
|
||||
exec_normal(TRUE);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
1151,
|
||||
/**/
|
||||
1150,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user