]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.0.1686: undotree() only works for the current buffer v9.0.1686
authorDevin J. Pohly <djpohly@gmail.com>
Mon, 24 Apr 2023 01:26:59 +0000 (20:26 -0500)
committerChristian Brabandt <cb@256bit.org>
Fri, 11 Aug 2023 20:53:39 +0000 (22:53 +0200)
commit5fee11114975b7405b7ccd3ee8758e54bf559760
treeae15baf50b45d4c5ad76714641b03c006b1ac70d
parent422b9dcbfadcd5c1dfad982f9782563915398430
patch 9.0.1686: undotree() only works for the current buffer

Problem:    undotree() only works for the current buffer
Solution:   Add an optional "buffer number" parameter to undotree().  If
            omitted, use the current buffer for backwards compatibility.

closes: #4001
closes: #12292

Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: zeertzjq <zeertzjq@outlook.com>
Co-authored-by: Devin J. Pohly <djpohly@gmail.com>
runtime/doc/builtin.txt
runtime/doc/todo.txt
runtime/doc/usr_41.txt
src/evalfunc.c
src/testdir/test_undo.vim
src/undo.c
src/version.c