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)
diff --git a/src/main.c b/src/main.c
index 91ef66d..dc7b702 100644
--- a/src/main.c
+++ b/src/main.c
@@ -959,6 +959,9 @@
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. */