Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
4353:1ab21898454f | 4354:c80838526eeb |
---|---|
8932 FOR_ALL_TAB_WINDOWS(tp, wp) | 8932 FOR_ALL_TAB_WINDOWS(tp, wp) |
8933 { | 8933 { |
8934 if (wp == aucmd_win) | 8934 if (wp == aucmd_win) |
8935 { | 8935 { |
8936 if (tp != curtab) | 8936 if (tp != curtab) |
8937 goto_tabpage_tp(tp, TRUE); | 8937 goto_tabpage_tp(tp, TRUE, TRUE); |
8938 win_goto(aucmd_win); | 8938 win_goto(aucmd_win); |
8939 goto win_found; | 8939 goto win_found; |
8940 } | 8940 } |
8941 } | 8941 } |
8942 } | 8942 } |