0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.2005

Problem:    After using evalcmd() message output is in the wrong position.
            (Christian Brabandt)
Solution:   Reset msg_col.
This commit is contained in:
Bram Moolenaar 2016-07-08 23:06:21 +02:00
parent 65549bdef5
commit ee1deb4a00
2 changed files with 6 additions and 0 deletions

View File

@ -11397,6 +11397,10 @@ f_evalcmd(typval_T *argvars, typval_T *rettv)
redir_evalcmd = save_redir_evalcmd;
if (redir_evalcmd)
redir_evalcmd_ga = save_ga;
/* "silent reg" or "silent echo x" leaves msg_col somewhere in the
* line. Put it back in the first column. */
msg_col = 0;
}
}

View File

@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
2005,
/**/
2004,
/**/