mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
vim-patch:7.4.2009
Problem: Messages test fails.
Solution: Don't set redir_execute before returning.
ed59aa60d3
This commit is contained in:
parent
6520517e22
commit
9b47115d53
@ -8855,10 +8855,6 @@ static void f_execute(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
return;
|
||||
}
|
||||
|
||||
garray_T capture_local;
|
||||
ga_init(&capture_local, (int)sizeof(char), 80);
|
||||
capture_ga = &capture_local;
|
||||
|
||||
if (argvars[1].v_type != VAR_UNKNOWN) {
|
||||
char_u buf[NUMBUFLEN];
|
||||
char_u *s = get_tv_string_buf_chk(&argvars[1], buf);
|
||||
@ -8877,6 +8873,10 @@ static void f_execute(typval_T *argvars, typval_T *rettv, FunPtr fptr)
|
||||
msg_silent++;
|
||||
}
|
||||
|
||||
garray_T capture_local;
|
||||
ga_init(&capture_local, (int)sizeof(char), 80);
|
||||
capture_ga = &capture_local;
|
||||
|
||||
if (argvars[0].v_type != VAR_LIST) {
|
||||
do_cmdline_cmd((char *)get_tv_string(&argvars[0]));
|
||||
} else if (argvars[0].vval.v_list != NULL) {
|
||||
|
@ -431,8 +431,8 @@ static int included_patches[] = {
|
||||
2012,
|
||||
2011,
|
||||
2010,
|
||||
// 2009,
|
||||
// 2008,
|
||||
2009,
|
||||
2008,
|
||||
2007,
|
||||
// 2006,
|
||||
2005,
|
||||
|
Loading…
Reference in New Issue
Block a user