From: Bram Moolenaar Date: Fri, 8 Jul 2016 08:53:12 +0000 (+0200) Subject: patch 7.4.2000 X-Git-Tag: v7.4.2000 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=245a7cb6d33e556415c9fcaa874b784a6d8f0ef3;p=vim patch 7.4.2000 Problem: Evalcmd test fails. Solution: Add missing piece. --- diff --git a/src/ex_docmd.c b/src/ex_docmd.c index 0be3a6910..0388de8da 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -9455,6 +9455,12 @@ ex_redir(exarg_T *eap) char_u *fname; char_u *arg = eap->arg; + if (redir_evalcmd) + { + EMSG(_("E930: Cannot use :redir inside evalcmd()")); + return; + } + if (STRICMP(eap->arg, "END") == 0) close_redir(); else diff --git a/src/version.c b/src/version.c index 5794e3a2f..6224e3dce 100644 --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 2000, /**/ 1999, /**/