]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0102: settabvar() may change the last accessed tabpage v9.1.0102
authorzeertzjq <zeertzjq@outlook.com>
Mon, 12 Feb 2024 21:50:26 +0000 (22:50 +0100)
committerChristian Brabandt <cb@256bit.org>
Mon, 12 Feb 2024 21:50:26 +0000 (22:50 +0100)
commitb47fbb40837512cdd2d8c25eaf9952154836b99d
tree061117c7cffb729024887ab621cdaf1de55b4795
parentbd1232a1faf56b614a1e74c4ce51bc6e0650ae00
patch 9.1.0102: settabvar() may change the last accessed tabpage

Problem:  settabvar() may change the last accessed tabpage.
Solution: Save and restore lastused_tabpage.
          (zeertzjq)

closes: #14017

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/evalvars.c
src/testdir/test_tabpage.vim
src/version.c