patch 8.0.1763: :argedit does not reuse an empty unnamed buffer

Problem:    :argedit does not reuse an empty unnamed buffer.
Solution:   Add the BLN_CURBUF flag and fix all the side effects. (Christian
            Brabandt, closes #2713)
This commit is contained in:
Bram Moolenaar
2018-04-24 21:58:51 +02:00
parent b255b90503
commit 46a53dfc29
6 changed files with 37 additions and 9 deletions

View File

@@ -173,7 +173,6 @@ func Test_command_count_4()
only!
exe bufnr . 'buf'
bnext
let bufnr = bufnr('%')
let buffers = []
.,$-bufdo call add(buffers, bufnr('%'))