From b01a8b749b1df035da491efca311ef50fd3d57eb Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 13 Feb 2007 02:47:22 +0000 Subject: [PATCH] updated for version 7.0-193 --- src/ex_cmds.c | 8 ++++++++ src/version.c | 2 ++ 2 files changed, 10 insertions(+) diff --git a/src/ex_cmds.c b/src/ex_cmds.c index 33db477f8..1bb7ba096 100644 --- 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 index 676f901f2..b89a0fad3 100644 --- a/src/version.c +++ b/src/version.c @@ -666,6 +666,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 193, /**/ 192, /**/ -- 2.50.1