summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-08-05 22:02:20 +0200
committerBram Moolenaar <Bram@vim.org>2013-08-05 22:02:20 +0200
commit01c458e4383002519b542c95371153eb4b83789e (patch)
treec88ffab231f01d2bf45a51d56292a0f276f8c693
parent9d98fe9cae372d84d0b1f6b56eee4615c91b1307 (diff)
downloadvim-git-7.4b.015.tar.gz
updated for version 7.4b.015v7.4b.015
Problem: Can't compile without the 'acd' feature. Solution: Add #ifdefs. (Kazunobu Kuriyama)
-rw-r--r--src/fileio.c6
-rw-r--r--src/version.c2
2 files changed, 8 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 20f082b22..b48a83a3c 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -8861,7 +8861,9 @@ aucmd_prepbuf(aco, buf)
#ifdef FEAT_WINDOWS
int save_ea;
#endif
+#ifdef FEAT_AUTOCHDIR
int save_acd;
+#endif
/* Find a window that is for the new buffer */
if (buf == curbuf) /* be quick when buf is curbuf */
@@ -8927,14 +8929,18 @@ aucmd_prepbuf(aco, buf)
save_ea = p_ea;
p_ea = FALSE;
+# ifdef FEAT_AUTOCHDIR
/* Prevent chdir() call in win_enter_ext(), through do_autochdir(). */
save_acd = p_acd;
p_acd = FALSE;
+# endif
(void)win_split_ins(0, WSP_TOP, aucmd_win, 0);
(void)win_comp_pos(); /* recompute window positions */
p_ea = save_ea;
+# ifdef FEAT_AUTOCHDIR
p_acd = save_acd;
+# endif
unblock_autocmds();
#endif
curwin = aucmd_win;
diff --git a/src/version.c b/src/version.c
index ca859f7e0..607ba9aae 100644
--- a/src/version.c
+++ b/src/version.c
@@ -728,6 +728,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 15,
+/**/
14,
/**/
13,