Mirror of the Vim source from https://github.com/vim/vim
修訂 | 0b056c1350dd2ff28249130194d9a2be7b606a86 (tree) |
---|---|
時間 | 2007-02-13 11:47:22 |
作者 | vimboss |
Commiter | vimboss |
updated for version 7.0-193
@@ -6967,6 +6967,14 @@ | ||
6967 | 6967 | */ |
6968 | 6968 | set_arglist(eap->arg); |
6969 | 6969 | |
6970 | + /* | |
6971 | + * Expanding wildcards may result in an empty argument list. E.g. when | |
6972 | + * editing "foo.pyc" and ".pyc" is in 'wildignore'. Assume that we | |
6973 | + * already did an error message for this. | |
6974 | + */ | |
6975 | + if (ARGCOUNT == 0) | |
6976 | + return; | |
6977 | + | |
6970 | 6978 | # ifdef FEAT_WINDOWS |
6971 | 6979 | if (cmdmod.tab) |
6972 | 6980 | { |
@@ -667,6 +667,8 @@ | ||
667 | 667 | static int included_patches[] = |
668 | 668 | { /* Add new patch number below this line */ |
669 | 669 | /**/ |
670 | + 193, | |
671 | +/**/ | |
670 | 672 | 192, |
671 | 673 | /**/ |
672 | 674 | 191, |