Skip to content

Commit 85dad2c

Browse files
committed
patch 8.0.0711: cannot build without the wildmenu feature
Problem: Cannot build without the wildmenu feature. Solution: Add #ifdef
1 parent 8603356 commit 85dad2c

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/screen.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,10 +275,12 @@ redraw_buf_and_status_later(buf_T *buf, int type)
275275
{
276276
win_T *wp;
277277

278+
#ifdef FEAT_WILDMENU
278279
if (wild_menu_showing != 0)
279280
/* Don't redraw while the command line completion is displayed, it
280281
* would disappear. */
281282
return;
283+
#endif
282284
FOR_ALL_WINDOWS(wp)
283285
{
284286
if (wp->w_buffer == buf)
@@ -450,7 +452,11 @@ redraw_after_callback(void)
450452
{
451453
/* Redrawing only works when the screen didn't scroll. Don't clear
452454
* wildmenu entries. */
453-
if (msg_scrolled == 0 && wild_menu_showing == 0)
455+
if (msg_scrolled == 0
456+
#ifdef FEAT_WILDMENU
457+
&& wild_menu_showing == 0
458+
#endif
459+
)
454460
update_screen(0);
455461
/* Redraw in the same position, so that the user can continue
456462
* editing the command. */

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -764,6 +764,8 @@ static char *(features[]) =
764764

765765
static int included_patches[] =
766766
{ /* Add new patch number below this line */
767+
/**/
768+
711,
767769
/**/
768770
710,
769771
/**/

0 commit comments

Comments
 (0)