summaryrefslogtreecommitdiff
path: root/src/fileio.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-12-03 13:52:52 +0100
committerBram Moolenaar <Bram@vim.org>2015-12-03 13:52:52 +0100
commit20ad69ccfb60ef718bd26387ef0e5424461a643e (patch)
treebcb4f909cca8591ae40080c24a2c048e46957352 /src/fileio.c
parent5311c02f25eed8f34e8a80becb98e86264f371c3 (diff)
downloadvim-git-20ad69ccfb60ef718bd26387ef0e5424461a643e.tar.gz
patch 7.4.948v7.4.948
Problem: Can't build when the insert_expand feature is disabled. Solution: Add #ifdefs. (Dan Pasanen, closes #499)
Diffstat (limited to 'src/fileio.c')
-rw-r--r--src/fileio.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 20c029498..ded95b728 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -9450,7 +9450,9 @@ apply_autocmds_group(event, fname, fname_io, force, group, buf, eap)
if (!autocmd_busy)
{
save_search_patterns();
+#ifdef FEAT_INS_EXPAND
if (!ins_compl_active())
+#endif
{
saveRedobuff();
did_save_redobuff = TRUE;