File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -714,6 +714,8 @@ static char *(features[]) =
714714
715715static int included_patches [] =
716716{ /* Add new patch number below this line */
717+ /**/
718+ 588 ,
717719/**/
718720 587 ,
719721/**/
Original file line number Diff line number Diff line change @@ -2184,7 +2184,7 @@ win_close(win, free_buf)
21842184 }
21852185
21862186#ifdef FEAT_AUTOCMD
2187- if (win -> w_closing || win -> w_buffer -> b_closing )
2187+ if (win -> w_closing || ( win -> w_buffer != NULL && win -> w_buffer -> b_closing ) )
21882188 return ; /* window is already being closed */
21892189 if (win == aucmd_win )
21902190 {
@@ -3723,7 +3723,7 @@ leave_tabpage(new_curbuf)
37233723enter_tabpage (tp , old_curbuf , trigger_autocmds )
37243724 tabpage_T * tp ;
37253725 buf_T * old_curbuf UNUSED ;
3726- int trigger_autocmds UNUSED ;
3726+ int trigger_autocmds UNUSED ;
37273727{
37283728 int old_off = tp -> tp_firstwin -> w_winrow ;
37293729 win_T * next_prevwin = tp -> tp_prevwin ;
@@ -3868,7 +3868,7 @@ goto_tabpage(n)
38683868 void
38693869goto_tabpage_tp (tp , trigger_autocmds )
38703870 tabpage_T * tp ;
3871- int trigger_autocmds ;
3871+ int trigger_autocmds ;
38723872{
38733873 /* Don't repeat a message in another tab page. */
38743874 set_keep_msg (NULL , 0 );
You can’t perform that action at this time.
0 commit comments