mirror of
https://github.com/vim/vim.git
synced 2025-09-28 04:24:06 -04:00
patch 7.4.2027
Problem: Can't build with +eval but without +menu. Solution: Add #ifdef. (John Marriott)
This commit is contained in:
@@ -13120,11 +13120,13 @@ f_getcompletion(typval_T *argvars, typval_T *rettv)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# if defined(FEAT_MENU)
|
||||||
if (xpc.xp_context == EXPAND_MENUS)
|
if (xpc.xp_context == EXPAND_MENUS)
|
||||||
{
|
{
|
||||||
set_context_in_menu_cmd(&xpc, (char_u *)"menu", xpc.xp_pattern, FALSE);
|
set_context_in_menu_cmd(&xpc, (char_u *)"menu", xpc.xp_pattern, FALSE);
|
||||||
xpc.xp_pattern_len = (int)STRLEN(xpc.xp_pattern);
|
xpc.xp_pattern_len = (int)STRLEN(xpc.xp_pattern);
|
||||||
}
|
}
|
||||||
|
# endif
|
||||||
|
|
||||||
pat = addstar(xpc.xp_pattern, xpc.xp_pattern_len, xpc.xp_context);
|
pat = addstar(xpc.xp_pattern, xpc.xp_pattern_len, xpc.xp_context);
|
||||||
if ((rettv_list_alloc(rettv) != FAIL) && (pat != NULL))
|
if ((rettv_list_alloc(rettv) != FAIL) && (pat != NULL))
|
||||||
|
@@ -758,6 +758,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
2027,
|
||||||
/**/
|
/**/
|
||||||
2026,
|
2026,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user