Revert "XXX: ex_tabonly(): aucmd_win is not part of the window list."

This reverts commit 7214d0bc84.

Cannot test patch v8.2.1059 without reverting this commit.
This commit is contained in:
Jan Edmund Lazo 2021-05-12 02:29:35 -04:00
parent f54a938271
commit 4338077632
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -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);