From 433807763236427cbe0ff347c1c5b77877aa0aff Mon Sep 17 00:00:00 2001 From: Jan Edmund Lazo Date: Wed, 12 May 2021 02:29:35 -0400 Subject: [PATCH] Revert "XXX: ex_tabonly(): aucmd_win is not part of the window list." This reverts commit 7214d0bc846179a862e8d3061d00270a6caa0d7b. Cannot test patch v8.2.1059 without reverting this commit. --- src/nvim/ex_docmd.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/nvim/ex_docmd.c b/src/nvim/ex_docmd.c index 1b44b92aa2..02bbc90858 100644 --- a/src/nvim/ex_docmd.c +++ b/src/nvim/ex_docmd.c @@ -6595,9 +6595,6 @@ static void ex_tabonly(exarg_T *eap) // Repeat this up to a 1000 times, because autocommands may // mess up the lists. for (int done = 0; done < 1000; done++) { - FOR_ALL_TAB_WINDOWS(tp, wp) { - assert(wp != aucmd_win); - } FOR_ALL_TABS(tp) { if (tp->tp_topframe != topframe) { tabpage_close_other(tp, eap->forceit);