diff 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
line wrap: on
line diff
--- a/src/ex_getln.c
+++ b/src/ex_getln.c
@@ -3702,6 +3702,7 @@ ExpandEscape(xp, str, numfiles, files, o
     if (options & WILD_ESCAPE)
     {
 	if (xp->xp_context == EXPAND_FILES
+		|| xp->xp_context == EXPAND_FILES_IN_PATH
 		|| xp->xp_context == EXPAND_SHELLCMD
 		|| xp->xp_context == EXPAND_BUFFERS
 		|| xp->xp_context == EXPAND_DIRECTORIES)