diff options
author | Bram Moolenaar <Bram@vim.org> | 2007-02-13 02:47:22 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2007-02-13 02:47:22 +0000 |
commit | b01a8b749b1df035da491efca311ef50fd3d57eb (patch) | |
tree | e96b263466121571d5cf2fccdffe02d6ad736412 | |
parent | 47b8b15b5f7f62d65e6ef55f5042453e2735055d (diff) | |
download | vim-git-b01a8b749b1df035da491efca311ef50fd3d57eb.tar.gz |
updated for version 7.0-193v7.0.193
-rw-r--r-- | src/ex_cmds.c | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 10 insertions, 0 deletions
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 @@ -667,6 +667,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 193, +/**/ 192, /**/ 191, |