mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.2000
Problem: Evalcmd test fails. Solution: Add missing piece.
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user