Mercurial > vim
diff src/proto/window.pro @ 5302:f6247eaf4e1d v7.4.004
updated for version 7.4.004
Problem: When closing a window fails ":bwipe" may hang.
Solution: Let win_close() return FAIL and break out of the loop.
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Wed, 14 Aug 2013 17:11:20 +0200 |
parents | 0792cc5133ce |
children | f9fa2e506b9f |
line wrap: on
line diff
--- a/src/proto/window.pro +++ b/src/proto/window.pro @@ -9,7 +9,7 @@ void win_move_after __ARGS((win_T *win1, void win_equal __ARGS((win_T *next_curwin, int current, int dir)); void close_windows __ARGS((buf_T *buf, int keep_curwin)); int one_window __ARGS((void)); -void win_close __ARGS((win_T *win, int free_buf)); +int win_close __ARGS((win_T *win, int free_buf)); void win_close_othertab __ARGS((win_T *win, int free_buf, tabpage_T *tp)); void win_free_all __ARGS((void)); win_T *winframe_remove __ARGS((win_T *win, int *dirp, tabpage_T *tp));