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

patch 7.4.2000

Problem:    Evalcmd test fails.
Solution:   Add missing piece.
This commit is contained in:
Bram Moolenaar
2016-07-08 10:53:12 +02:00
parent bc5d6dd1dd
commit 245a7cb6d3
2 changed files with 8 additions and 0 deletions

View File

@@ -9455,6 +9455,12 @@ ex_redir(exarg_T *eap)
char_u *fname; char_u *fname;
char_u *arg = eap->arg; char_u *arg = eap->arg;
if (redir_evalcmd)
{
EMSG(_("E930: Cannot use :redir inside evalcmd()"));
return;
}
if (STRICMP(eap->arg, "END") == 0) if (STRICMP(eap->arg, "END") == 0)
close_redir(); close_redir();
else else

View File

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