Mercurial > vim
diff src/vim.h @ 7641:b44fc33ef92a v7.4.1120
commit https://github.com/vim/vim/commit/336bd622c31e1805495c034e1a8cfadcc0bbabc7
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 17 18:23:58 2016 +0100
patch 7.4.1120
Problem: delete(x, 'rf') fails if a directory is empty. (Lcd)
Solution: Ignore not finding matches in an empty directory.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Jan 2016 18:30:05 +0100 |
parents | 2a280b8e7040 |
children | f04e2b6feea2 |
line wrap: on
line diff
--- a/src/vim.h +++ b/src/vim.h @@ -836,6 +836,7 @@ extern char *(*dyn_libintl_textdomain)(c #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 */