0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 7.4.1716

Problem:    'autochdir' doesn't work for the first file. (Rob Hoelz)
Solution:   Call DO_AUTOCHDIR after startup. (Christian Brabandt, closes #704)
This commit is contained in:
Bram Moolenaar 2016-04-06 23:06:23 +02:00
parent ddecc25947
commit baec5c1768
2 changed files with 5 additions and 0 deletions

View File

@ -959,6 +959,9 @@ vim_main2(int argc UNUSED, char **argv UNUSED)
no_wait_return = FALSE;
starting = 0;
/* 'autochdir' has been postponed */
DO_AUTOCHDIR
#ifdef FEAT_TERMRESPONSE
/* Requesting the termresponse is postponed until here, so that a "-c q"
* argument doesn't make it appear in the shell Vim was started from. */

View File

@ -748,6 +748,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1716,
/**/
1715,
/**/