Mercurial > vim
diff src/proto/window.pro @ 28167:a52a5e3363c4 v8.2.4609
patch 8.2.4609: :unhide does not check for failing to close a window
Commit: https://github.com/vim/vim/commit/6f2465d336a9d4afe392db4084ef7e9db17e67c1
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Mar 22 18:13:01 2022 +0000
patch 8.2.4609: :unhide does not check for failing to close a window
Problem: :unhide does not check for failing to close a window.
Solution: When closing a window fails continue with the next one. Do not
try closing the autocmd window. (closes #9984)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 22 Mar 2022 19:15:03 +0100 |
parents | afbe86e8b24a |
children | e466fdbe0699 |
line wrap: on
line diff
--- a/src/proto/window.pro +++ b/src/proto/window.pro @@ -46,6 +46,7 @@ win_T *win_horz_neighbor(tabpage_T *tp, void win_enter(win_T *wp, int undo_sync); win_T *buf_jump_open_win(buf_T *buf); win_T *buf_jump_open_tab(buf_T *buf); +int win_unlisted(win_T *wp); void win_free_popup(win_T *win); void win_remove(win_T *wp, tabpage_T *tp); int win_alloc_lines(win_T *wp);