diff --git a/src/normal.c b/src/normal.c index 1b514b36f3..a19771b4fd 100644 --- a/src/normal.c +++ b/src/normal.c @@ -4936,13 +4936,15 @@ dozet: /* "zx": re-apply 'foldlevel' and open folds at the cursor */ case 'x': curwin->w_p_fen = TRUE; - newFoldLevel(); /* update right now */ + curwin->w_foldinvalid = TRUE; /* recompute folds */ + newFoldLevel(); /* update right now */ foldOpenCursor(); break; /* "zX": undo manual opens/closes, re-apply 'foldlevel' */ case 'X': curwin->w_p_fen = TRUE; - old_fdl = -1; /* force an update */ + curwin->w_foldinvalid = TRUE; /* recompute folds */ + old_fdl = -1; /* force an update */ break; /* "zm": fold more */ diff --git a/src/version.c b/src/version.c index 453a23b422..1f57dd7f60 100644 --- a/src/version.c +++ b/src/version.c @@ -681,6 +681,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 421, /**/ 420, /**/