diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-05-30 17:29:40 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-05-30 17:29:40 +0200 |
commit | 89adc3a1371d211f7766f3dbc0975ecb2f862327 (patch) | |
tree | 5ece2c55b14bd899f995e12df256875572c0d23f /src/autocmd.c | |
parent | 5c3fb04623d0260762f1c3c1ba250a407098ff2a (diff) | |
download | vim-git-89adc3a1371d211f7766f3dbc0975ecb2f862327.tar.gz |
patch 8.1.1425: win_execute() does not set window pointers properlyv8.1.1425
Problem: Win_execute() does not set window pointers properly.
Solution: Use switch_win_noblock(). Also execute autocommands in a popup
window.
Diffstat (limited to 'src/autocmd.c')
-rw-r--r-- | src/autocmd.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/autocmd.c b/src/autocmd.c index 21b9ab3ba..82b58689d 100644 --- a/src/autocmd.c +++ b/src/autocmd.c @@ -1349,7 +1349,7 @@ ex_doautoall(exarg_T *eap) */ FOR_ALL_BUFFERS(buf) { - if (buf->b_ml.ml_mfp != NULL && !bt_popup(buf)) + if (buf->b_ml.ml_mfp != NULL) { // find a window for this buffer and save some values aucmd_prepbuf(&aco, buf); @@ -1612,8 +1612,6 @@ apply_autocmds( int force, // when TRUE, ignore autocmd_busy buf_T *buf) // buffer for <abuf> { - if (bt_popup(buf)) - return FALSE; return apply_autocmds_group(event, fname, fname_io, force, AUGROUP_ALL, buf, NULL); } |