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)
     {