comparison src/structs.h @ 15241:83ff85896a14 v8.1.0630

patch 8.1.0630: "wincmd p" does not work after using an autocmd window commit https://github.com/vim/vim/commit/a42df5934bdc1178ed2ee8cb9c8686975b578497 Author: Bram Moolenaar <Bram@vim.org> Date: Mon Dec 24 00:22:39 2018 +0100 patch 8.1.0630: "wincmd p" does not work after using an autocmd window Problem: "wincmd p" does not work after using an autocmd window. Solution: Store "prevwin" in aco_save_T. (Christian Brabandt, closes https://github.com/vim/vim/issues/3690)
author Bram Moolenaar <Bram@vim.org>
date Mon, 24 Dec 2018 00:30:07 +0100
parents 3a99b2e6d136
children 336728a577f5
comparison
equal deleted inserted replaced
15240:acb5c50fc222 15241:83ff85896a14
3250 { 3250 {
3251 buf_T *save_curbuf; /* saved curbuf */ 3251 buf_T *save_curbuf; /* saved curbuf */
3252 int use_aucmd_win; /* using aucmd_win */ 3252 int use_aucmd_win; /* using aucmd_win */
3253 win_T *save_curwin; /* saved curwin */ 3253 win_T *save_curwin; /* saved curwin */
3254 win_T *new_curwin; /* new curwin */ 3254 win_T *new_curwin; /* new curwin */
3255 win_T *save_prevwin; /* saved prevwin */
3255 bufref_T new_curbuf; /* new curbuf */ 3256 bufref_T new_curbuf; /* new curbuf */
3256 char_u *globaldir; /* saved value of globaldir */ 3257 char_u *globaldir; /* saved value of globaldir */
3257 } aco_save_T; 3258 } aco_save_T;
3258 3259
3259 /* 3260 /*