# HG changeset patch # User Christian Brabandt # Date 1468272606 -7200 # Node ID 9225961006a4124f58673b7fce978bbd947ab338 # Parent 1c2bf7ee5103fa69a3d1e1441e4941717d371bf9 commit https://github.com/vim/vim/commit/4c06815c44dfeaafdad25dfcc40f60860096a900 Author: Bram Moolenaar Date: Mon Jul 11 23:15:25 2016 +0200 patch 7.4.2027 Problem: Can't build with +eval but without +menu. Solution: Add #ifdef. (John Marriott) diff --git a/src/eval.c b/src/eval.c --- a/src/eval.c +++ b/src/eval.c @@ -13120,11 +13120,13 @@ f_getcompletion(typval_T *argvars, typva return; } +# if defined(FEAT_MENU) if (xpc.xp_context == EXPAND_MENUS) { set_context_in_menu_cmd(&xpc, (char_u *)"menu", xpc.xp_pattern, FALSE); xpc.xp_pattern_len = (int)STRLEN(xpc.xp_pattern); } +# endif pat = addstar(xpc.xp_pattern, xpc.xp_pattern_len, xpc.xp_context); if ((rettv_list_alloc(rettv) != FAIL) && (pat != NULL)) diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 2027, +/**/ 2026, /**/ 2025,