# HG changeset patch # User Christian Brabandt # Date 1449147606 -3600 # Node ID a34232b17763ac329e55e3c735e1061b4ee82d94 # Parent 29724a179eaf02444d573e830eb65f1872acc9dc commit https://github.com/vim/vim/commit/20ad69ccfb60ef718bd26387ef0e5424461a643e Author: Bram Moolenaar Date: Thu Dec 3 13:52:52 2015 +0100 patch 7.4.948 Problem: Can't build when the insert_expand feature is disabled. Solution: Add #ifdefs. (Dan Pasanen, closes https://github.com/vim/vim/issues/499) diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -8748,7 +8748,9 @@ call_func(funcname, len, rettv, argcount * redo buffer. */ save_search_patterns(); +#ifdef FEAT_INS_EXPAND if (!ins_compl_active()) +#endif { saveRedobuff(); did_save_redo = TRUE; diff --git a/src/fileio.c b/src/fileio.c --- a/src/fileio.c +++ b/src/fileio.c @@ -9450,7 +9450,9 @@ apply_autocmds_group(event, fname, fname if (!autocmd_busy) { save_search_patterns(); +#ifdef FEAT_INS_EXPAND if (!ins_compl_active()) +#endif { saveRedobuff(); did_save_redobuff = TRUE; diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -742,6 +742,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 948, +/**/ 947, /**/ 946,