1
0
forked from aniani/vim

patch 7.4.2008

Problem:    evalcmd() has a confusing name.
Solution:   Rename to execute().  Make silent optional.  Support a list of
            commands.
This commit is contained in:
Bram Moolenaar
2016-07-09 17:07:29 +02:00
parent fc4ad61607
commit 79815f1ec7
10 changed files with 238 additions and 133 deletions

View File

@@ -9456,9 +9456,9 @@ ex_redir(exarg_T *eap)
char_u *arg = eap->arg;
#ifdef FEAT_EVAL
if (redir_evalcmd)
if (redir_execute)
{
EMSG(_("E930: Cannot use :redir inside evalcmd()"));
EMSG(_("E930: Cannot use :redir inside execute()"));
return;
}
#endif