aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-12 02:29:35 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2021-05-13 20:47:25 -0400
commit433807763236427cbe0ff347c1c5b77877aa0aff (patch)
treec4504ce1c80e034d90705738cd27f7e92309ef7f /src
parentf54a938271a4006a05638956a46e0bbe114eedf7 (diff)
downloadrneovim-433807763236427cbe0ff347c1c5b77877aa0aff.tar.gz
rneovim-433807763236427cbe0ff347c1c5b77877aa0aff.tar.bz2
rneovim-433807763236427cbe0ff347c1c5b77877aa0aff.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/nvim/ex_docmd.c3
1 files changed, 0 insertions, 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);