diff options
author | Bram Moolenaar <Bram@vim.org> | 2015-03-05 19:35:25 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2015-03-05 19:35:25 +0100 |
commit | a245bc79b4c6b83a4b5b6cdb95c4d2165762a20b (patch) | |
tree | dbb5a71da4718b7404caf85eb3e2c1a011fa9e34 /src/ex_getln.c | |
parent | e421450a5ef8c6327fcc9b90a5c3d6b26b274830 (diff) |
updated for version 7.4.654v7.4.654
Problem: glob() and globpath() cannot include links to non-existing files.
(Charles Campbell)
Solution: Add an argument to include all links with glob(). (James McCoy)
Also for globpath().
Diffstat (limited to 'src/ex_getln.c')
-rw-r--r-- | src/ex_getln.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ex_getln.c b/src/ex_getln.c index d8db15abf6..e18a8ede93 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -4563,6 +4563,8 @@ ExpandFromContext(xp, pat, num_file, file, options) flags |= EW_KEEPALL; if (options & WILD_SILENT) flags |= EW_SILENT; + if (options & WILD_ALLLINKS) + flags |= EW_ALLLINKS; if (xp->xp_context == EXPAND_FILES || xp->xp_context == EXPAND_DIRECTORIES |