diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-22 22:55:00 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-22 22:55:00 +0100 |
commit | f88af6e6757b2e373cf6cd366d6a81a066a6ade0 (patch) | |
tree | 21fbb26a21113897fe2969c85a213398ca864325 | |
parent | 82a12468bd023f5cdc5d27182bedef7881514643 (diff) | |
download | vim-git-f88af6e6757b2e373cf6cd366d6a81a066a6ade0.tar.gz |
patch 8.1.0795: cannot build without popup menuv8.1.0795
Problem: Cannot build without popup menu.
Solution: Add #ifdef
-rw-r--r-- | src/ex_getln.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 0 deletions
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 <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; diff --git a/src/version.c b/src/version.c index fc926196c..91b354262 100644 --- a/src/version.c +++ b/src/version.c @@ -792,6 +792,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 795, +/**/ 794, /**/ 793, |