summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 25441247af..594abfcd59 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -3361,9 +3361,7 @@ do_write(exarg_T *eap)
/* Change directories when the 'acd' option is set and the file name
* got changed or set. */
if (eap->cmdidx == CMD_saveas || name_was_missing)
- {
DO_AUTOCHDIR;
- }
}
theend: