diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-11-28 18:51:43 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-11-28 18:51:43 +0000 |
commit | e76062c078debed0df818f70e4db14ad7a7cb53a (patch) | |
tree | e43b3b076fdea909c460219e896237a8924ccb6b /src/evalwindow.c | |
parent | 74a694dbe20bb7dea4e06f474cf62e20f9c92f1d (diff) |
patch 9.0.0965: using one window for executing autocommands is insufficientv9.0.0965
Problem: Using one window for executing autocommands is insufficient.
Solution: Use up to five windows for executing autocommands.
Diffstat (limited to 'src/evalwindow.c')
-rw-r--r-- | src/evalwindow.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalwindow.c b/src/evalwindow.c index 3578669ae8..f8c0c7acfd 100644 --- a/src/evalwindow.c +++ b/src/evalwindow.c @@ -1064,7 +1064,7 @@ f_win_gettype(typval_T *argvars, typval_T *rettv) return; } } - if (wp == aucmd_win) + if (is_aucmd_win(wp)) rettv->vval.v_string = vim_strsave((char_u *)"autocmd"); #if defined(FEAT_QUICKFIX) else if (wp->w_p_pvw) |