vim-patch:7.4.1716

Problem:    'autochdir' doesn't work for the first file. (Rob Hoelz)
Solution:   Call DO_AUTOCHDIR after startup. (Christian Brabandt)

baec5c1768
This commit is contained in:
Marco Hinz 2016-07-01 11:34:43 +02:00
parent 6f4f654231
commit 59487e18a7
2 changed files with 4 additions and 0 deletions

View File

@ -507,6 +507,9 @@ int main(int argc, char **argv)
no_wait_return = FALSE;
starting = 0;
// 'autochdir' has been postponed.
do_autochdir();
/* start in insert mode */
if (p_im)
need_start_insertmode = TRUE;

View File

@ -86,6 +86,7 @@ static int included_patches[] = {
1755,
1753,
1728,
1716,
1695,
1654,
1652,