]> granicus.if.org Git - vim/commitdiff
updated for version 7.0-193 v7.0.193
authorBram Moolenaar <Bram@vim.org>
Tue, 13 Feb 2007 02:47:22 +0000 (02:47 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 13 Feb 2007 02:47:22 +0000 (02:47 +0000)
src/ex_cmds.c
src/version.c

index 33db477f806207c3e21cff7fad15c265e095c9a5..1bb7ba096671f375d4bdb5d983df90fef01af590 100644 (file)
@@ -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)
     {
index 676f901f2b039dcfa24cfd54d8f1ea7cc224b449..b89a0fad34712f9f51ed624fb1a96617e68969a0 100644 (file)
@@ -666,6 +666,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    193,
 /**/
     192,
 /**/