# HG changeset patch # User vimboss # Date 1171334842 0 # Node ID 0b056c1350dd2ff28249130194d9a2be7b606a86 # Parent bffbbb566d6b1004cfe26df89e102c465bed4312 updated for version 7.0-193 diff --git a/src/ex_cmds.c b/src/ex_cmds.c --- a/src/ex_cmds.c +++ b/src/ex_cmds.c @@ -6967,6 +6967,14 @@ ex_drop(eap) */ 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) { diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 193, +/**/ 192, /**/ 191,