aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authoraph <a.hewson@gmail.com>2014-04-01 19:52:48 +0100
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-04 21:44:58 -0300
commit535c450c72bb643aaff5e024d64980e124d6ddec (patch)
tree386981133222d8b2ef9221d4f30a203a035fce91 /src/ex_cmds.c
parent94013a73f7f09b8ea6782394e6a07a88a447a1cd (diff)
downloadrneovim-535c450c72bb643aaff5e024d64980e124d6ddec.tar.gz
rneovim-535c450c72bb643aaff5e024d64980e124d6ddec.tar.bz2
rneovim-535c450c72bb643aaff5e024d64980e124d6ddec.zip
remove DO_AUTOCHDIR
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index b2656a98a9..cf002511c4 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -2106,7 +2106,7 @@ int rename_buffer(char_u *new_fname)
vim_free(sfname);
apply_autocmds(EVENT_BUFFILEPOST, NULL, NULL, FALSE, curbuf);
/* Change directories when the 'acd' option is set. */
- DO_AUTOCHDIR
+ do_autochdir();
return OK;
}
@@ -2303,7 +2303,7 @@ int do_write(exarg_T *eap)
redraw_tabline = TRUE;
}
/* Change directories when the 'acd' option is set. */
- DO_AUTOCHDIR
+ do_autochdir();
}
}
@@ -3046,7 +3046,7 @@ do_ecmd (
}
/* Change directories when the 'acd' option is set. */
- DO_AUTOCHDIR
+ do_autochdir();
/*
* Careful: open_buffer() and apply_autocmds() may change the current
@@ -3185,7 +3185,7 @@ do_ecmd (
need_start_insertmode = TRUE;
/* Change directories when the 'acd' option is set. */
- DO_AUTOCHDIR
+ do_autochdir();
theend: