diff --git a/src/fileio.c b/src/fileio.c
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -8861,6 +8861,7 @@
 #ifdef FEAT_WINDOWS
     int		save_ea;
 #endif
+    int		save_acd;
 
     /* Find a window that is for the new buffer */
     if (buf == curbuf)		/* be quick when buf is curbuf */
@@ -8926,9 +8927,12 @@
 	make_snapshot(SNAP_AUCMD_IDX);
 	save_ea = p_ea;
 	p_ea = FALSE;
+	save_acd = p_acd;
+	p_acd = FALSE; /* prevent chdir() call in win_enter() */
 	(void)win_split_ins(0, WSP_TOP, aucmd_win, 0);
 	(void)win_comp_pos();   /* recompute window positions */
 	p_ea = save_ea;
+	p_acd = save_acd;
 	unblock_autocmds();
 #endif
 	curwin = aucmd_win;
