From: Bram Moolenaar Date: Fri, 11 Jan 2019 10:55:16 +0000 (+0100) Subject: patch 8.1.0715: superfluous call to redraw_win_later() X-Git-Tag: v8.1.0715 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6f7e555f7440df148350468ad8bc6d559d676d7c;p=vim patch 8.1.0715: superfluous call to redraw_win_later() Problem: Superfluous call to redraw_win_later(). Solution: Remove the call. --- diff --git a/src/move.c b/src/move.c index 119941ff4..493f1de51 100644 --- a/src/move.c +++ b/src/move.c @@ -137,9 +137,9 @@ redraw_for_cursorline(win_T *wp) #endif ) && (wp->w_valid & VALID_CROW) == 0 -# ifdef FEAT_INS_EXPAND +#ifdef FEAT_INS_EXPAND && !pum_visible() -# endif +#endif ) { if (wp->w_p_rnu) @@ -155,7 +155,6 @@ redraw_for_cursorline(win_T *wp) // the current window. redrawWinline(wp, wp->w_last_cursorline); redrawWinline(wp, wp->w_cursor.lnum); - redraw_win_later(wp, VALID); } else redraw_win_later(wp, SOME_VALID); diff --git a/src/version.c b/src/version.c index cec708f33..eb55daf0d 100644 --- a/src/version.c +++ b/src/version.c @@ -799,6 +799,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 715, /**/ 714, /**/