diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-17 18:23:58 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-17 18:23:58 +0100 |
commit | 336bd622c31e1805495c034e1a8cfadcc0bbabc7 (patch) | |
tree | cd49277ac430addcad75432e8d9a462cab82e0a4 /src/vim.h | |
parent | 72defda84eb26be9e2ade56c7877b912f818026e (diff) |
patch 7.4.1120v7.4.1120
Problem: delete(x, 'rf') fails if a directory is empty. (Lcd)
Solution: Ignore not finding matches in an empty directory.
Diffstat (limited to 'src/vim.h')
-rw-r--r-- | src/vim.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -836,6 +836,7 @@ extern char *(*dyn_libintl_textdomain)(const char *domainname); #define EW_SHELLCMD 0x2000 /* called from expand_shellcmd(), don't check * if executable is in $PATH */ #define EW_DODOT 0x4000 /* also files starting with a dot */ +#define EW_EMPTYOK 0x8000 /* no matches is not an error */ /* Flags for find_file_*() functions. */ #define FINDFILE_FILE 0 /* only files */ |