commit | 498efdb7f652d45d6dda68da3e8b12a541ff4494 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Sep 05 14:31:54 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Sep 05 14:31:54 2006 +0000 |
tree | b95e01c4476886bacd9ed75b7a8f8dd817c1a1ce | |
parent | 53ed192b3c4a014c6bfe19a99623f5a2761a38d3 [diff] [blame] |
updated for version 7.0-087
diff --git a/src/option.c b/src/option.c index c599d02..1f47c60 100644 --- a/src/option.c +++ b/src/option.c
@@ -7326,9 +7326,8 @@ #ifdef FEAT_AUTOCHDIR else if ((int *)varp == &p_acd) { - if (p_acd && curbuf->b_ffname != NULL - && vim_chdirfile(curbuf->b_ffname) == OK) - shorten_fnames(TRUE); + /* Change directories when the 'acd' option is set now. */ + DO_AUTOCHDIR } #endif