diff options
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c index 31f902d779..29cfb8a993 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1899,7 +1899,10 @@ do_autochdir(void) if ((starting == 0 || test_autochdir) && curbuf->b_ffname != NULL && vim_chdirfile(curbuf->b_ffname, "auto") == OK) + { shorten_fnames(TRUE); + last_chdir_reason = "autochdir"; + } } #endif |