summaryrefslogtreecommitdiffstats
path: root/src/eval.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/eval.c
parent5311c02f25eed8f34e8a80becb98e86264f371c3 (diff)
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/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index a2a99869e6..7ec7364a74 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -8748,7 +8748,9 @@ call_func(funcname, len, rettv, argcount, argvars, firstline, lastline,
* redo buffer.
*/
save_search_patterns();
+#ifdef FEAT_INS_EXPAND
if (!ins_compl_active())
+#endif
{
saveRedobuff();
did_save_redo = TRUE;