Mercurial > vim
diff src/ex_getln.c @ 6659:6f1e4b7942c3 v7.4.654
updated for version 7.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().
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 05 Mar 2015 19:35:25 +0100 |
parents | de877dab1c31 |
children | 6529590f6c43 |
line wrap: on
line diff
--- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -4563,6 +4563,8 @@ ExpandFromContext(xp, pat, num_file, fil 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