1
0
forked from aniani/vim

patch 8.2.1472: ":argdel" does not work like ":.argdel" as documented

Problem:    ":argdel" does not work like ":.argdel" as documented. (Alexey
            Demin)
Solution:   Make ":argdel" work like ":.argdel". (closes #6727)
            Also fix giving the error "0 more files to edit".
This commit is contained in:
Bram Moolenaar
2020-08-17 19:34:10 +02:00
parent 241572794f
commit 7b22117c4e
4 changed files with 24 additions and 8 deletions

View File

@@ -5022,7 +5022,7 @@ check_more(
int n = ARGCOUNT - curwin->w_arg_idx - 1;
if (!forceit && only_one_window()
&& ARGCOUNT > 1 && !arg_had_last && n >= 0 && quitmore == 0)
&& ARGCOUNT > 1 && !arg_had_last && n > 0 && quitmore == 0)
{
if (message)
{