vim-patch:7.4.1120

Problem:    delete(x, 'rf') fails if a directory is empty. (Lcd)
Solution:   Ignore not finding matches in an empty directory.

336bd622c3
This commit is contained in:
Jurica Bradaric
2016-02-28 13:26:10 +01:00
parent 29b737e92b
commit 425fcdb5b4
5 changed files with 7 additions and 4 deletions

View File

@@ -1223,7 +1223,7 @@ int gen_expand_wildcards(int num_pat, char_u **pat, int *num_file,
recursive = false;
return (ga.ga_data != NULL) ? OK : FAIL;
return ((flags & EW_EMPTYOK) || ga.ga_data != NULL) ? OK : FAIL;
}