Skip to content

Commit 20ad69c

Browse files
committed
patch 7.4.948
Problem: Can't build when the insert_expand feature is disabled. Solution: Add #ifdefs. (Dan Pasanen, closes #499)
1 parent 5311c02 commit 20ad69c

3 files changed

Lines changed: 6 additions & 0 deletions

File tree

src/eval.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8748,7 +8748,9 @@ call_func(funcname, len, rettv, argcount, argvars, firstline, lastline,
87488748
* redo buffer.
87498749
*/
87508750
save_search_patterns();
8751+
#ifdef FEAT_INS_EXPAND
87518752
if (!ins_compl_active())
8753+
#endif
87528754
{
87538755
saveRedobuff();
87548756
did_save_redo = TRUE;

src/fileio.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9450,7 +9450,9 @@ apply_autocmds_group(event, fname, fname_io, force, group, buf, eap)
94509450
if (!autocmd_busy)
94519451
{
94529452
save_search_patterns();
9453+
#ifdef FEAT_INS_EXPAND
94539454
if (!ins_compl_active())
9455+
#endif
94549456
{
94559457
saveRedobuff();
94569458
did_save_redobuff = TRUE;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,8 @@ static char *(features[]) =
741741

742742
static int included_patches[] =
743743
{ /* Add new patch number below this line */
744+
/**/
745+
948,
744746
/**/
745747
947,
746748
/**/

0 commit comments

Comments
 (0)