mirror of
https://github.com/neovim/neovim.git
synced 2024-12-20 11:15:14 -07:00
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:
parent
f54a938271
commit
4338077632
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user