Patch 7.0.087
commit3ad59363b743eccf9e80660a45c7ce94d866dfca
authoredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Wed, 6 Sep 2006 02:05:55 +0000 (6 02:05 +0000)
committeredyfox <edyfox@2a77ed30-b011-0410-a7ad-c7884a0aa172>
Wed, 6 Sep 2006 02:05:55 +0000 (6 02:05 +0000)
treec4e1c68e391ec185be531bba2b38fabe241113e2
parent101f14fd034e352190fba9429b3bc28e8be50a98
Patch 7.0.087
Problem:    After ":file fname" and ":saveas fname" the 'autochdir' option
           does not take effect. (Yakov Lerner)
           Commands for handling 'autochdir' are repeated many times.
Solution:   Add the DO_AUTOCHDIR macro and do_autochdir().  Use it for
           ":file fname" and ":saveas fname".
Files:      src/proto/buffer.pro, src/buffer.c, src/ex_cmds.c, src/macros.h,
           src/option.c, src/window.c

git-svn-id: https://vim.svn.sourceforge.net/svnroot/vim/vim7@99 2a77ed30-b011-0410-a7ad-c7884a0aa172
src/buffer.c
src/ex_cmds.c
src/macros.h
src/option.c
src/proto/buffer.pro
src/version.c
src/window.c