patch 7.4.948
Problem: Can't build when the insert_expand feature is disabled.
Solution: Add #ifdefs. (Dan Pasanen, closes #499)
diff --git a/src/eval.c b/src/eval.c
index a2a9986..7ec7364 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -8748,7 +8748,9 @@
* 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
index 20c0294..ded95b7 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -9450,7 +9450,9 @@
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
index a8526bf..306f01c 100644
--- a/src/version.c
+++ b/src/version.c
@@ -742,6 +742,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 948,
+/**/
947,
/**/
946,