diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-04-06 23:06:23 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-04-06 23:06:23 +0200 |
commit | baec5c1768098f9dd867b465aaabfdfb294f10c2 (patch) | |
tree | 8869162f909dd66e96bcf7392ef6878fac40727c /src | |
parent | ddecc25947dbdd689d5bcaed32f298a08abdd497 (diff) | |
download | vim-baec5c1768098f9dd867b465aaabfdfb294f10c2.zip |
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)
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 3 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c index 91ef66db6..dc7b702bd 100644 --- a/src/main.c +++ b/src/main.c @@ -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. */ diff --git a/src/version.c b/src/version.c index 5c89d6bb6..7106a39ee 100644 --- a/src/version.c +++ b/src/version.c @@ -749,6 +749,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1716, +/**/ 1715, /**/ 1714, |