commit | b01a8b749b1df035da491efca311ef50fd3d57eb | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Feb 13 02:47:22 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Feb 13 02:47:22 2007 +0000 |
tree | e96b263466121571d5cf2fccdffe02d6ad736412 | |
parent | 47b8b15b5f7f62d65e6ef55f5042453e2735055d [diff] [blame] |
updated for version 7.0-193
diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 33db477..1bb7ba0 100644 --- a/src/ex_cmds.c +++ b/src/ex_cmds.c
@@ -6967,6 +6967,14 @@ */ set_arglist(eap->arg); + /* + * Expanding wildcards may result in an empty argument list. E.g. when + * editing "foo.pyc" and ".pyc" is in 'wildignore'. Assume that we + * already did an error message for this. + */ + if (ARGCOUNT == 0) + return; + # ifdef FEAT_WINDOWS if (cmdmod.tab) {