Problem: Cannot build without the wildmenu feature.
Solution: Add #ifdef
{
win_T *wp;
+#ifdef FEAT_WILDMENU
if (wild_menu_showing != 0)
/* Don't redraw while the command line completion is displayed, it
* would disappear. */
return;
+#endif
FOR_ALL_WINDOWS(wp)
{
if (wp->w_buffer == buf)
{
/* Redrawing only works when the screen didn't scroll. Don't clear
* wildmenu entries. */
- if (msg_scrolled == 0 && wild_menu_showing == 0)
+ if (msg_scrolled == 0
+#ifdef FEAT_WILDMENU
+ && wild_menu_showing == 0
+#endif
+ )
update_screen(0);
/* Redraw in the same position, so that the user can continue
* editing the command. */
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 711,
/**/
710,
/**/