# HG changeset patch # User Bram Moolenaar # Date 1646252103 -3600 # Node ID 07aea9530e0574f290393c154c929ac69f61f857 # Parent 457a7fd871471a4142d98a3377ed0aa9d5fd424c patch 8.2.4493: options test fails in the GUI Commit: https://github.com/vim/vim/commit/b9c510859360595c046b8b7c1d6828125525e967 Author: Bram Moolenaar Date: Wed Mar 2 20:12:03 2022 +0000 patch 8.2.4493: options test fails in the GUI Problem: Options test fails in the GUI. Solution: Do not save and restore 'term'. diff --git a/src/testdir/gen_opt_test.vim b/src/testdir/gen_opt_test.vim --- a/src/testdir/gen_opt_test.vim +++ b/src/testdir/gen_opt_test.vim @@ -15,7 +15,6 @@ let script = [ \ '', \ 'let save_columns = &columns', \ 'let save_lines = &lines', - \ 'let save_term = &term', \ 'set t_WS=', \ ] @@ -224,7 +223,6 @@ while 1 endif endwhile -call add(script, 'let &term = save_term') call add(script, 'let &columns = save_columns') call add(script, 'let &lines = save_lines') diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -755,6 +755,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4493, +/**/ 4492, /**/ 4491,