Move applying of TabClosed to win_close_othertab

This commit is contained in:
Daniel Hahler
2017-12-29 20:35:52 +01:00
parent 2c436b3362
commit e84e1b68c1
3 changed files with 45 additions and 18 deletions

View File

@@ -6230,7 +6230,6 @@ void tabpage_close_other(tabpage_T *tp, int forceit)
if (!valid_tabpage(tp) || tp->tp_firstwin == wp)
break;
}
apply_autocmds(EVENT_TABCLOSED, prev_idx, prev_idx, FALSE, curbuf);
redraw_tabline = TRUE;
if (h != tabline_height())