To: vim_dev@googlegroups.com Subject: Patch 7.4.1716 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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) Files: src/main.c *** ../vim-7.4.1715/src/main.c 2016-03-26 20:59:48.107431656 +0100 --- src/main.c 2016-04-06 23:03:32.600191578 +0200 *************** *** 959,964 **** --- 959,967 ---- 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. */ *** ../vim-7.4.1715/src/version.c 2016-04-06 22:59:33.503226978 +0200 --- src/version.c 2016-04-06 23:02:08.169269889 +0200 *************** *** 750,751 **** --- 750,753 ---- { /* Add new patch number below this line */ + /**/ + 1716, /**/ -- hundred-and-one symptoms of being an internet addict: 239. You think "surfing" is something you do on dry land. /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///