mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -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:
@@ -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. */
|
||||
|
Reference in New Issue
Block a user