Hi Bram! On So, 26 Aug 2012, Bram Moolenaar wrote:
> Thanks for looking into this and making a patch. I'll look into the > details soon. I think, the attached patch is better and simpler. regards, Christian -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
diff --git a/src/window.c b/src/window.c --- a/src/window.c +++ b/src/window.c @@ -2269,7 +2269,7 @@ #ifdef FEAT_AUTOCMD win->w_closing = TRUE; #endif - close_buffer(win, win->w_buffer, free_buf ? DOBUF_UNLOAD : 0, FALSE); + close_buffer(win, win->w_buffer, free_buf ? DOBUF_UNLOAD : 0, TRUE); #ifdef FEAT_AUTOCMD if (win_valid(win)) win->w_closing = FALSE;
