]> granicus.if.org Git - vim/commit
patch 9.0.0961: using deletebufline() may jump to another window v9.0.0961
authorBram Moolenaar <Bram@vim.org>
Sun, 27 Nov 2022 19:45:49 +0000 (19:45 +0000)
committerBram Moolenaar <Bram@vim.org>
Sun, 27 Nov 2022 19:45:49 +0000 (19:45 +0000)
commit3da8597fc07505c0f8839b0834aafe1c10ffb456
treef8a2ef6f53114411a856dd25bff8c9e502a1647f
parent502e91756e99181d5fe668fad2e868dc7f3f4fea
patch 9.0.0961: using deletebufline() may jump to another window

Problem:    Using deletebufline() may jump to another window.
Solution:   Do not use a window where the buffer was only in the past.
            (closes #11594)
src/evalbuffer.c
src/testdir/test_bufline.vim
src/version.c