diff options
Diffstat (limited to 'src/nvim/arglist.c')
-rw-r--r-- | src/nvim/arglist.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/nvim/arglist.c b/src/nvim/arglist.c index 02e3a99aab..f22ef10e3f 100644 --- a/src/nvim/arglist.c +++ b/src/nvim/arglist.c @@ -782,6 +782,10 @@ static void do_arg_all(int count, int forceit, int keep_tabs) assert(firstwin != NULL); // satisfy coverity + if (cmdwin_type != 0) { + emsg(_(e_cmdwin)); + return; + } if (ARGCOUNT <= 0) { // Don't give an error message. We don't want it when the ":all" command is in the .vimrc. return; |