summaryrefslogtreecommitdiff
path: root/src/macros.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-09-05 14:31:54 +0000
committerBram Moolenaar <Bram@vim.org>2006-09-05 14:31:54 +0000
commit498efdb7f652d45d6dda68da3e8b12a541ff4494 (patch)
treeb95e01c4476886bacd9ed75b7a8f8dd817c1a1ce /src/macros.h
parent53ed192b3c4a014c6bfe19a99623f5a2761a38d3 (diff)
downloadvim-git-498efdb7f652d45d6dda68da3e8b12a541ff4494.tar.gz
updated for version 7.0-087v7.0.087
Diffstat (limited to 'src/macros.h')
-rw-r--r--src/macros.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/macros.h b/src/macros.h
index c4c9a14da..a8bc2b852 100644
--- a/src/macros.h
+++ b/src/macros.h
@@ -276,3 +276,9 @@
# define MB_CHARLEN(p) STRLEN(p)
# define PTR2CHAR(p) ((int)*(p))
#endif
+
+#ifdef FEAT_AUTOCHDIR
+# define DO_AUTOCHDIR if (p_acd) do_autochdir();
+#else
+# define DO_AUTOCHDIR
+#endif