mirror of
https://github.com/vim/vim.git
synced 2025-10-01 04:54:07 -04:00
patch 9.0.0965: using one window for executing autocommands is insufficient
Problem: Using one window for executing autocommands is insufficient. Solution: Use up to five windows for executing autocommands.
This commit is contained in:
@@ -6050,7 +6050,7 @@ ex_win_close(
|
||||
buf_T *buf = win->w_buffer;
|
||||
|
||||
// Never close the autocommand window.
|
||||
if (win == aucmd_win)
|
||||
if (is_aucmd_win(win))
|
||||
{
|
||||
emsg(_(e_cannot_close_autocmd_or_popup_window));
|
||||
return;
|
||||
|
Reference in New Issue
Block a user