]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 8.1.0341: :argadd in empty buffer changes the buffer name v8.1.0341
authorBram Moolenaar <Bram@vim.org>
Fri, 31 Aug 2018 21:06:22 +0000 (23:06 +0200)
committerBram Moolenaar <Bram@vim.org>
Fri, 31 Aug 2018 21:06:22 +0000 (23:06 +0200)
commit32bbd00949c585ea1c9da13197279a175097eddd
tree62508b0ed6282faa5ceac0df0cbc7213893e6ce6
parent9049b686121367941bf534c041975938135c7e20
patch 8.1.0341: :argadd in empty buffer changes the buffer name

Problem:    :argadd in empty buffer changes the buffer name. (Pavol Juhas)
Solution:   Don't re-use the current buffer when not going to edit the file.
            (closes #3397)  Do re-use the current buffer for :next.
src/ex_cmds2.c
src/testdir/test_arglist.vim
src/testdir/test_command_count.vim
src/version.c