Skip to content

Commit 2b05ed1

Browse files
committed
updated for version 7.4b.015
Problem: Can't compile without the 'acd' feature. Solution: Add #ifdefs. (Kazunobu Kuriyama)
1 parent d2d246e commit 2b05ed1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

src/fileio.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8861,7 +8861,9 @@ aucmd_prepbuf(aco, buf)
88618861
#ifdef FEAT_WINDOWS
88628862
int save_ea;
88638863
#endif
8864+
#ifdef FEAT_AUTOCHDIR
88648865
int save_acd;
8866+
#endif
88658867

88668868
/* Find a window that is for the new buffer */
88678869
if (buf == curbuf) /* be quick when buf is curbuf */
@@ -8927,14 +8929,18 @@ aucmd_prepbuf(aco, buf)
89278929
save_ea = p_ea;
89288930
p_ea = FALSE;
89298931

8932+
# ifdef FEAT_AUTOCHDIR
89308933
/* Prevent chdir() call in win_enter_ext(), through do_autochdir(). */
89318934
save_acd = p_acd;
89328935
p_acd = FALSE;
8936+
# endif
89338937

89348938
(void)win_split_ins(0, WSP_TOP, aucmd_win, 0);
89358939
(void)win_comp_pos(); /* recompute window positions */
89368940
p_ea = save_ea;
8941+
# ifdef FEAT_AUTOCHDIR
89378942
p_acd = save_acd;
8943+
# endif
89388944
unblock_autocmds();
89398945
#endif
89408946
curwin = aucmd_win;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -727,6 +727,8 @@ static char *(features[]) =
727727

728728
static int included_patches[] =
729729
{ /* Add new patch number below this line */
730+
/**/
731+
15,
730732
/**/
731733
14,
732734
/**/

0 commit comments

Comments
 (0)