From f88af6e6757b2e373cf6cd366d6a81a066a6ade0 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Tue, 22 Jan 2019 22:55:00 +0100 Subject: [PATCH] patch 8.1.0795: cannot build without popup menu Problem: Cannot build without popup menu. Solution: Add #ifdef --- src/ex_getln.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) 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, /**/ -- 2.50.1