Mercurial > vim
comparison src/eval.c @ 31263:d8e7d725a666 v9.0.0965
patch 9.0.0965: using one window for executing autocommands is insufficient
Commit: https://github.com/vim/vim/commit/e76062c078debed0df818f70e4db14ad7a7cb53a
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Nov 28 18:51:43 2022 +0000
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 28 Nov 2022 20:00:05 +0100 |
parents | a52697bcffa6 |
children | 4bc9cd62d378 |
comparison
equal
deleted
inserted
replaced
31262:7f766b7e17d5 | 31263:d8e7d725a666 |
---|---|
5082 | 5082 |
5083 // window-local variables | 5083 // window-local variables |
5084 FOR_ALL_TAB_WINDOWS(tp, wp) | 5084 FOR_ALL_TAB_WINDOWS(tp, wp) |
5085 abort = abort || set_ref_in_item(&wp->w_winvar.di_tv, copyID, | 5085 abort = abort || set_ref_in_item(&wp->w_winvar.di_tv, copyID, |
5086 NULL, NULL); | 5086 NULL, NULL); |
5087 if (aucmd_win != NULL) | 5087 for (int i = 0; i < AUCMD_WIN_COUNT; ++i) |
5088 abort = abort || set_ref_in_item(&aucmd_win->w_winvar.di_tv, copyID, | 5088 if (aucmd_win[i].auc_win_used) |
5089 NULL, NULL); | 5089 abort = abort || set_ref_in_item( |
5090 &aucmd_win[i].auc_win->w_winvar.di_tv, copyID, NULL, NULL); | |
5090 #ifdef FEAT_PROP_POPUP | 5091 #ifdef FEAT_PROP_POPUP |
5091 FOR_ALL_POPUPWINS(wp) | 5092 FOR_ALL_POPUPWINS(wp) |
5092 abort = abort || set_ref_in_item(&wp->w_winvar.di_tv, copyID, | 5093 abort = abort || set_ref_in_item(&wp->w_winvar.di_tv, copyID, |
5093 NULL, NULL); | 5094 NULL, NULL); |
5094 FOR_ALL_TABPAGES(tp) | 5095 FOR_ALL_TABPAGES(tp) |