From: Bram Moolenaar Date: Tue, 3 Nov 2009 17:47:12 +0000 (+0000) Subject: updated for version 7.2-284 X-Git-Tag: v7.2.284 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3234cc6a3169b18e02a725157cb0f405cd72dd2a;p=vim updated for version 7.2-284 --- diff --git a/src/misc1.c b/src/misc1.c index 23a1c1e4b..bb15d429d 100644 --- a/src/misc1.c +++ b/src/misc1.c @@ -2886,6 +2886,13 @@ changed_common(lnum, col, lnume, xtra) } #endif } + +#ifdef FEAT_FOLDING + /* Take care of side effects for setting w_topline when folds have + * changed. Esp. when the buffer was changed in another window. */ + if (hasAnyFolding(wp)) + set_topline(wp, wp->w_topline); +#endif } } diff --git a/src/version.c b/src/version.c index 83af0958b..8a71cbe39 100644 --- a/src/version.c +++ b/src/version.c @@ -676,6 +676,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 284, /**/ 283, /**/