mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user