summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-08-26 19:58:49 +0100
committerBram Moolenaar <Bram@vim.org>2022-08-26 19:58:49 +0100
commit58dcbf1c6586d3873702e035b47829178a91250e (patch)
tree6f41634a90e77fe519609e64ac542cbb8b81366b
parent7dd543246a4c21c4d5a4242a28076706f5abebd4 (diff)
downloadvim-git-58dcbf1c6586d3873702e035b47829178a91250e.tar.gz
patch 9.0.0281: build failure without the +eval featurev9.0.0281
Problem: Build failure without the +eval feature. Solution: Add #ifdef.
-rw-r--r--src/cmdexpand.c8
-rw-r--r--src/version.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/src/cmdexpand.c b/src/cmdexpand.c
index a62c6abf6..5cdb1beab 100644
--- a/src/cmdexpand.c
+++ b/src/cmdexpand.c
@@ -3613,16 +3613,20 @@ wildmenu_process_key(cmdline_info_T *cclp, int key, expand_T *xp)
* Free expanded names when finished walking through the matches
*/
void
-wildmenu_cleanup(cmdline_info_T *cclp)
+wildmenu_cleanup(cmdline_info_T *cclp UNUSED)
{
int skt = KeyTyped;
+#ifdef FEAT_EVAL
int old_RedrawingDisabled = RedrawingDisabled;
+#endif
if (!p_wmnu || wild_menu_showing == 0)
return;
+#ifdef FEAT_EVAL
if (cclp->input_fn)
RedrawingDisabled = 0;
+#endif
if (wild_menu_showing == WM_SCROLLED)
{
@@ -3647,8 +3651,10 @@ wildmenu_cleanup(cmdline_info_T *cclp)
}
KeyTyped = skt;
wild_menu_showing = 0;
+#ifdef FEAT_EVAL
if (cclp->input_fn)
RedrawingDisabled = old_RedrawingDisabled;
+#endif
}
#if defined(FEAT_EVAL) || defined(PROTO)
diff --git a/src/version.c b/src/version.c
index 224758983..ae33d6dac 100644
--- a/src/version.c
+++ b/src/version.c
@@ -708,6 +708,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 281,
+/**/
280,
/**/
279,