diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-07-09 17:07:29 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-07-09 17:07:29 +0200 |
commit | 79815f1ec77406f2f21a618c053e5793b597db7a (patch) | |
tree | 7a99af24de8d373cc9a12408b39a57118a6577b9 /src/ex_docmd.c | |
parent | fc4ad616073a169badfb2b9906fee2844f76f730 (diff) | |
download | vim-git-79815f1ec77406f2f21a618c053e5793b597db7a.tar.gz |
patch 7.4.2008v7.4.2008
Problem: evalcmd() has a confusing name.
Solution: Rename to execute(). Make silent optional. Support a list of
commands.
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index b892b6307..f8b50ed1d 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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 |