0
0
mirror of https://github.com/vim/vim.git synced 2025-10-18 07:54:29 -04:00

patch 7.4.2169

Problem:    Startup test gets stuck on MS-Windows.
Solution:   Use double quotes.
This commit is contained in:
Bram Moolenaar
2016-08-06 21:37:27 +02:00
parent 5b4a3767f6
commit 446cce6d53
3 changed files with 8 additions and 1 deletions

View File

@@ -135,7 +135,10 @@ func RunVim(before, after)
let cmd = readfile('vimcmd')[0] let cmd = readfile('vimcmd')[0]
let cmd = substitute(cmd, '-u \f\+', '-u NONE', '') let cmd = substitute(cmd, '-u \f\+', '-u NONE', '')
exe "silent !" . cmd . " --cmd 'so Xbefore.vim' -S Xafter.vim" if cmd !~ '-u NONE'
let cmd = cmd . ' -u NONE'
endif
exe "silent !" . cmd . " --cmd \"so Xbefore.vim\" -S Xafter.vim"
call delete('Xbefore.vim') call delete('Xbefore.vim')
call delete('Xafter.vim') call delete('Xafter.vim')

View File

@@ -19,6 +19,8 @@ func Test_after_comes_later()
return return
endif endif
let before = [ let before = [
\ 'set nocp viminfo+=nviminfo',
\ 'set guioptions+=M',
\ 'let $HOME = "/does/not/exist"', \ 'let $HOME = "/does/not/exist"',
\ 'set loadplugins', \ 'set loadplugins',
\ 'set rtp=Xhere,Xafter', \ 'set rtp=Xhere,Xafter',

View File

@@ -763,6 +763,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 */
/**/
2169,
/**/ /**/
2168, 2168,
/**/ /**/