From: Bram Moolenaar Date: Tue, 22 Jan 2019 21:55:00 +0000 (+0100) Subject: patch 8.1.0795: cannot build without popup menu X-Git-Tag: v8.1.0795 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f88af6e6757b2e373cf6cd366d6a81a066a6ade0;p=vim patch 8.1.0795: cannot build without popup menu Problem: Cannot build without popup menu. Solution: Add #ifdef --- diff --git a/src/ex_getln.c b/src/ex_getln.c index 9400b20e8..f7dfc32dd 100644 --- a/src/ex_getln.c +++ b/src/ex_getln.c @@ -7268,9 +7268,11 @@ open_cmdwin(void) /* Don't execute autocommands while creating the window. */ block_autocmds(); +#if defined(FEAT_INS_EXPAND) // When using completion in Insert mode with = one can open the // command line window, but we don't want the popup menu then. pum_undisplay(); +#endif /* don't use a new tab page */ cmdmod.tab = 0; diff --git a/src/version.c b/src/version.c index fc926196c..91b354262 100644 --- a/src/version.c +++ b/src/version.c @@ -791,6 +791,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 795, /**/ 794, /**/