Skip to content

Commit 4c06815

Browse files
committed
patch 7.4.2027
Problem: Can't build with +eval but without +menu. Solution: Add #ifdef. (John Marriott)
1 parent 1436d8d commit 4c06815

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

src/eval.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13120,11 +13120,13 @@ f_getcompletion(typval_T *argvars, typval_T *rettv)
1312013120
return;
1312113121
}
1312213122

13123+
# if defined(FEAT_MENU)
1312313124
if (xpc.xp_context == EXPAND_MENUS)
1312413125
{
1312513126
set_context_in_menu_cmd(&xpc, (char_u *)"menu", xpc.xp_pattern, FALSE);
1312613127
xpc.xp_pattern_len = (int)STRLEN(xpc.xp_pattern);
1312713128
}
13129+
# endif
1312813130

1312913131
pat = addstar(xpc.xp_pattern, xpc.xp_pattern_len, xpc.xp_context);
1313013132
if ((rettv_list_alloc(rettv) != FAIL) && (pat != NULL))

src/version.c

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

759759
static int included_patches[] =
760760
{ /* Add new patch number below this line */
761+
/**/
762+
2027,
761763
/**/
762764
2026,
763765
/**/

0 commit comments

Comments
 (0)