]> granicus.if.org Git - vim/commitdiff
patch 8.1.0795: cannot build without popup menu v8.1.0795
authorBram Moolenaar <Bram@vim.org>
Tue, 22 Jan 2019 21:55:00 +0000 (22:55 +0100)
committerBram Moolenaar <Bram@vim.org>
Tue, 22 Jan 2019 21:55:00 +0000 (22:55 +0100)
Problem:    Cannot build without popup menu.
Solution:   Add #ifdef

src/ex_getln.c
src/version.c

index 9400b20e82c401e92581e183719f1b388926735c..f7dfc32ddcacc2f22a792b737ef532d970815d09 100644 (file)
@@ -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 <C-R>=<C-F> 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;
index fc926196c2c9e4cad271e0971b873b5fa64e5712..91b35426200f2aa0371cfb562eb460fd28444895 100644 (file)
@@ -791,6 +791,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    795,
 /**/
     794,
 /**/