Mercurial > vim
comparison src/ex_getln.c @ 2778:e92a4b9b4484 v7.3.165
updated for version 7.3.165
Problem: ":find" completion does not escape spaces in a directory name.
(Isz)
Solution: Add backslashes for EXPAND_FILES_IN_PATH. (Carlo Teubner)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Thu, 28 Apr 2011 17:21:53 +0200 |
parents | b2a7d143abe2 |
children | e1c5f69de95b |
comparison
equal
deleted
inserted
replaced
2777:30bcf93b3521 | 2778:e92a4b9b4484 |
---|---|
3700 tilde_replace(str, numfiles, files); | 3700 tilde_replace(str, numfiles, files); |
3701 | 3701 |
3702 if (options & WILD_ESCAPE) | 3702 if (options & WILD_ESCAPE) |
3703 { | 3703 { |
3704 if (xp->xp_context == EXPAND_FILES | 3704 if (xp->xp_context == EXPAND_FILES |
3705 || xp->xp_context == EXPAND_FILES_IN_PATH | |
3705 || xp->xp_context == EXPAND_SHELLCMD | 3706 || xp->xp_context == EXPAND_SHELLCMD |
3706 || xp->xp_context == EXPAND_BUFFERS | 3707 || xp->xp_context == EXPAND_BUFFERS |
3707 || xp->xp_context == EXPAND_DIRECTORIES) | 3708 || xp->xp_context == EXPAND_DIRECTORIES) |
3708 { | 3709 { |
3709 /* | 3710 /* |