diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-08-17 19:34:10 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-08-17 19:34:10 +0200 |
commit | 7b22117c4ecf383b6f35acef041773a83ec28220 (patch) | |
tree | 980afe611e35c20ab256b97453d519d60d283f04 /src/ex_docmd.c | |
parent | 241572794f7e93d2f8b762de2300e5f7e4f07628 (diff) |
patch 8.2.1472: ":argdel" does not work like ":.argdel" as documentedv8.2.1472
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".
Diffstat (limited to 'src/ex_docmd.c')
-rw-r--r-- | src/ex_docmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ex_docmd.c b/src/ex_docmd.c index c08524fff4..612d478e97 100644 --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -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) { |