summaryrefslogtreecommitdiffstats
path: root/src/ex_getln.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-03-05 19:35:25 +0100
committerBram Moolenaar <Bram@vim.org>2015-03-05 19:35:25 +0100
commita245bc79b4c6b83a4b5b6cdb95c4d2165762a20b (patch)
treedbb5a71da4718b7404caf85eb3e2c1a011fa9e34 /src/ex_getln.c
parente421450a5ef8c6327fcc9b90a5c3d6b26b274830 (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.c2
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