]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0554: :bw leaves jumplist and tagstack data around v9.1.0554
authorLemonBoy <thatlemon@gmail.com>
Tue, 9 Jul 2024 18:03:24 +0000 (20:03 +0200)
committerChristian Brabandt <cb@256bit.org>
Tue, 9 Jul 2024 18:03:24 +0000 (20:03 +0200)
commit4ff3a9b1e3ba45f9dbd0ea8c721f27d9315c4d93
tree4bfd88e4c40f3873eccaa6d38ed4b27a21bc2b88
parentd33a518025765c4a3530ad6cfb6cab83a30c8f55
patch 9.1.0554: :bw leaves jumplist and tagstack data around

Problem:  :bw leaves jumplist and tagstack data around
          (Paul "Joey" Clark)
Solution: Wipe jumplist and tagstack references to the wiped buffer
          (LemonBoy)

As documented the :bwipeout command brutally deletes all the references
to the buffer, so let's make it delete all the entries in the jump list
and tag stack referring to the wiped-out buffer.

fixes: #8201
closes: #15185

Signed-off-by: LemonBoy <thatlemon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/version9.txt
runtime/doc/windows.txt
src/buffer.c
src/mark.c
src/proto/mark.pro
src/proto/tag.pro
src/tag.c
src/testdir/test_jumplist.vim
src/testdir/test_tagjump.vim
src/testdir/test_winfixbuf.vim
src/version.c