diff src/fileio.c @ 4354:c80838526eeb v7.3.926

updated for version 7.3.926 Problem: Autocommands are triggered by setwinvar() et al. Missing BufEnter on :tabclose. Duplicate WinEnter on :tabclose. Wrong order of events for :tablose and :tabnew. Solution: Fix these autocommand events. (Zyx)
author Bram Moolenaar <bram@vim.org>
date Mon, 06 May 2013 04:50:35 +0200
parents 04736b4030ec
children 66803af09906
line wrap: on
line diff
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -8934,7 +8934,7 @@ aucmd_restbuf(aco)
 		if (wp == aucmd_win)
 		{
 		    if (tp != curtab)
-			goto_tabpage_tp(tp, TRUE);
+			goto_tabpage_tp(tp, TRUE, TRUE);
 		    win_goto(aucmd_win);
 		    goto win_found;
 		}