]> granicus.if.org Git - vim/commitdiff
patch 8.0.0711: cannot build without the wildmenu feature v8.0.0711
authorBram Moolenaar <Bram@vim.org>
Wed, 12 Jul 2017 19:12:43 +0000 (21:12 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 12 Jul 2017 19:12:43 +0000 (21:12 +0200)
Problem:    Cannot build without the wildmenu feature.
Solution:   Add #ifdef

src/screen.c
src/version.c

index 5a360b5ff1ea3ed638873fcc5b86331e97f76c9c..a7e881e3687770d753efe22325dfb3c31577a2d6 100644 (file)
@@ -275,10 +275,12 @@ redraw_buf_and_status_later(buf_T *buf, int type)
 {
     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)
@@ -450,7 +452,11 @@ redraw_after_callback(void)
     {
        /* 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. */
index 02ce657ea08a161dc83015c0529fabfb0da9aac6..6d448ae240204326338725393e0742347bba99ce 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    711,
 /**/
     710,
 /**/