comparison src/fileio.c @ 3582:e83c5dcea112 v7.3.551

updated for version 7.3.551 Problem: When using :tablose a TabEnter autocommand is triggered too early. (Karthick) Solution: Don't trigger *Enter autocommands before closing the tab. (Christian Brabandt)
author Bram Moolenaar <bram@vim.org>
date Wed, 13 Jun 2012 14:28:20 +0200
parents 09d0bda69df0
children f07475816079
comparison
equal deleted inserted replaced
3581:277b3bc2dabb 3582:e83c5dcea112
8916 FOR_ALL_TAB_WINDOWS(tp, wp) 8916 FOR_ALL_TAB_WINDOWS(tp, wp)
8917 { 8917 {
8918 if (wp == aucmd_win) 8918 if (wp == aucmd_win)
8919 { 8919 {
8920 if (tp != curtab) 8920 if (tp != curtab)
8921 goto_tabpage_tp(tp); 8921 goto_tabpage_tp(tp, TRUE);
8922 win_goto(aucmd_win); 8922 win_goto(aucmd_win);
8923 goto win_found; 8923 goto win_found;
8924 } 8924 }
8925 } 8925 }
8926 } 8926 }