Mercurial > vim
comparison src/structs.h @ 26998:b0ef52086d57 v8.2.4028
patch 8.2.4028: ml_get error with :doautoall and Visual area
Commit: https://github.com/vim/vim/commit/cb1956d6f2aece8ad93e19e5d4c7e0b5e405f056
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 7 15:45:18 2022 +0000
patch 8.2.4028: ml_get error with :doautoall and Visual area
Problem: ml_get error with :doautoall and Visual area. (Sean Dewar)
Solution: Disable Visual mode while executing autocommands.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 07 Jan 2022 17:00:05 +0100 |
parents | 8796f1384750 |
children | 15f40772e10a |
comparison
equal
deleted
inserted
replaced
26997:5ab78ae37723 | 26998:b0ef52086d57 |
---|---|
4029 int save_curwin_id; // ID of saved curwin | 4029 int save_curwin_id; // ID of saved curwin |
4030 int new_curwin_id; // ID of new curwin | 4030 int new_curwin_id; // ID of new curwin |
4031 int save_prevwin_id; // ID of saved prevwin | 4031 int save_prevwin_id; // ID of saved prevwin |
4032 bufref_T new_curbuf; // new curbuf | 4032 bufref_T new_curbuf; // new curbuf |
4033 char_u *globaldir; // saved value of globaldir | 4033 char_u *globaldir; // saved value of globaldir |
4034 int save_VIsual_active; // saved VIsual_active | |
4034 } aco_save_T; | 4035 } aco_save_T; |
4035 | 4036 |
4036 /* | 4037 /* |
4037 * Generic option table item, only used for printer at the moment. | 4038 * Generic option table item, only used for printer at the moment. |
4038 */ | 4039 */ |