mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 7.4.767
Problem: --remote-tab-silent can fail on MS-Windows. Solution: Use single quotes to avoid problems with backslashes. (Idea by Weiyong Mao)
This commit is contained in:
@@ -4008,15 +4008,15 @@ build_drop_cmd(filec, filev, tabs, sendReply)
|
|||||||
* if haslocaldir()
|
* if haslocaldir()
|
||||||
* cd -
|
* cd -
|
||||||
* lcd -
|
* lcd -
|
||||||
* elseif getcwd() ==# "current path"
|
* elseif getcwd() ==# 'current path'
|
||||||
* cd -
|
* cd -
|
||||||
* endif
|
* endif
|
||||||
* endif
|
* endif
|
||||||
*/
|
*/
|
||||||
ga_concat(&ga, (char_u *)":if !exists('+acd')||!&acd|if haslocaldir()|");
|
ga_concat(&ga, (char_u *)":if !exists('+acd')||!&acd|if haslocaldir()|");
|
||||||
ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# \"");
|
ga_concat(&ga, (char_u *)"cd -|lcd -|elseif getcwd() ==# '");
|
||||||
ga_concat(&ga, cdp);
|
ga_concat(&ga, cdp);
|
||||||
ga_concat(&ga, (char_u *)"\"|cd -|endif|endif<CR>");
|
ga_concat(&ga, (char_u *)"'|cd -|endif|endif<CR>");
|
||||||
vim_free(cdp);
|
vim_free(cdp);
|
||||||
|
|
||||||
if (sendReply)
|
if (sendReply)
|
||||||
|
@@ -741,6 +741,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
767,
|
||||||
/**/
|
/**/
|
||||||
766,
|
766,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user