# HG changeset patch # User Bram Moolenaar # Date 1433878411 -7200 # Node ID 1ccf9612841097ca6310564e713779bb1d2d1e91 # Parent 1e4608096d9aa3c4a761c8a7033ccd5586db28ab patch 7.4.737 Problem: On MS-Windows vimgrep over arglist doesn't work (Issue 361) Solution: Only escape backslashes in ## expansion when it is not used as the path separator. (James McCoy) diff --git a/src/ex_docmd.c b/src/ex_docmd.c --- a/src/ex_docmd.c +++ b/src/ex_docmd.c @@ -10746,7 +10746,11 @@ arg_all() } for ( ; *p != NUL; ++p) { - if (*p == ' ' || *p == '\\') + if (*p == ' ' +#ifndef BACKSLASH_IN_FILENAME + || *p == '\\' +#endif + ) { /* insert a backslash */ if (retval != NULL) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 737, +/**/ 736, /**/ 735,