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:
parent
ddecc25947
commit
baec5c1768
@ -959,6 +959,9 @@ vim_main2(int argc UNUSED, char **argv UNUSED)
|
|||||||
no_wait_return = FALSE;
|
no_wait_return = FALSE;
|
||||||
starting = 0;
|
starting = 0;
|
||||||
|
|
||||||
|
/* 'autochdir' has been postponed */
|
||||||
|
DO_AUTOCHDIR
|
||||||
|
|
||||||
#ifdef FEAT_TERMRESPONSE
|
#ifdef FEAT_TERMRESPONSE
|
||||||
/* Requesting the termresponse is postponed until here, so that a "-c q"
|
/* 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. */
|
* argument doesn't make it appear in the shell Vim was started from. */
|
||||||
|
@ -748,6 +748,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 */
|
||||||
|
/**/
|
||||||
|
1716,
|
||||||
/**/
|
/**/
|
||||||
1715,
|
1715,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user