1
0
forked from aniani/vim

updated for version 7.0-087

This commit is contained in:
Bram Moolenaar
2006-09-05 14:31:54 +00:00
parent 53ed192b3c
commit 498efdb7f6
7 changed files with 43 additions and 35 deletions

View File

@@ -3954,13 +3954,8 @@ win_enter_ext(wp, undo_sync, curwin_invalid)
setmouse(); /* in case jumped to/from help buffer */
#endif
#ifdef FEAT_AUTOCHDIR
/* Change directories when the 'acd' option is set on and after
* switching windows. */
if (p_acd && curbuf->b_ffname != NULL
&& vim_chdirfile(curbuf->b_ffname) == OK)
shorten_fnames(TRUE);
#endif
/* Change directories when the 'acd' option is set. */
DO_AUTOCHDIR
}
#endif /* FEAT_WINDOWS */