Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
7640:6da21217eb5a | 7641:b44fc33ef92a |
---|---|
834 * is used when executing commands and EW_SILENT for interactive expanding. */ | 834 * is used when executing commands and EW_SILENT for interactive expanding. */ |
835 #define EW_ALLLINKS 0x1000 /* also links not pointing to existing file */ | 835 #define EW_ALLLINKS 0x1000 /* also links not pointing to existing file */ |
836 #define EW_SHELLCMD 0x2000 /* called from expand_shellcmd(), don't check | 836 #define EW_SHELLCMD 0x2000 /* called from expand_shellcmd(), don't check |
837 * if executable is in $PATH */ | 837 * if executable is in $PATH */ |
838 #define EW_DODOT 0x4000 /* also files starting with a dot */ | 838 #define EW_DODOT 0x4000 /* also files starting with a dot */ |
839 #define EW_EMPTYOK 0x8000 /* no matches is not an error */ | |
839 | 840 |
840 /* Flags for find_file_*() functions. */ | 841 /* Flags for find_file_*() functions. */ |
841 #define FINDFILE_FILE 0 /* only files */ | 842 #define FINDFILE_FILE 0 /* only files */ |
842 #define FINDFILE_DIR 1 /* only directories */ | 843 #define FINDFILE_DIR 1 /* only directories */ |
843 #define FINDFILE_BOTH 2 /* files and directories */ | 844 #define FINDFILE_BOTH 2 /* files and directories */ |