# HG changeset patch # User Bram Moolenaar # Date 1281990869 -7200 # Node ID fde086181841aa124af8a38b5c0bba132de3ea94 # Parent f0915ae869cf7f143b7bb1a8c24b581f5e3a0909 updated for version 7.3.002 Problem: ":find" completion doesn't work when halfway an environment variable. (Dominique Pelle) Solution: Only use in-path completion when expanding file names. (Nazri Ramliy) diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -3465,7 +3465,8 @@ set_one_cmd_context(xp, buff) case CMD_find: case CMD_sfind: case CMD_tabfind: - xp->xp_context = EXPAND_FILES_IN_PATH; + if (xp->xp_context == EXPAND_FILES) + xp->xp_context = EXPAND_FILES_IN_PATH; break; case CMD_cd: case CMD_chdir: diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -715,6 +715,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2, +/**/ 1, /**/ 0