view src/testdir/dotest.in @ 17223:07bbe73b8e74 v8.1.1611

patch 8.1.1611: bufadd() reuses existing buffer without a name commit https://github.com/vim/vim/commit/892ae723ab95e429222e930cf41b32809567e58e Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jun 30 20:33:01 2019 +0200 patch 8.1.1611: bufadd() reuses existing buffer without a name Problem: Bufadd() reuses existing buffer without a name. Solution: When the name is empty always create a new buffer.
author Bram Moolenaar <Bram@vim.org>
date Sun, 30 Jun 2019 20:45:05 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

:set cp
:map dotest /^STARTTEST
j:set ff=unix cpo-=A
:.,/ENDTEST/-1w! Xdotest
:set ff& cpo+=A
nj0:so! Xdotest
dotest
dotest