changeset 1067:0b056c1350dd v7.0.193

updated for version 7.0-193
author vimboss
date Tue, 13 Feb 2007 02:47:22 +0000
parents bffbbb566d6b
children efd0ce477ae7
files src/ex_cmds.c src/version.c
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)
     {
--- 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,