summaryrefslogtreecommitdiffstats
path: root/src/arglist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arglist.c')
-rw-r--r--src/arglist.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/arglist.c b/src/arglist.c
index 4e971fd4bb..06d94280b0 100644
--- a/src/arglist.c
+++ b/src/arglist.c
@@ -884,6 +884,13 @@ do_arg_all(
win_T *new_curwin = NULL;
tabpage_T *new_curtab = NULL;
+#ifdef FEAT_CMDWIN
+ if (cmdwin_type != 0)
+ {
+ emsg(_(e_cmdwin));
+ return;
+ }
+#endif
if (ARGCOUNT <= 0)
{
// Don't give an error message. We don't want it when the ":all"