view src/testdir/test9.in @ 8899:fe12294683d8 v7.4.1736

commit https://github.com/vim/vim/commit/baa9fcaf4042a6dbe01e64ce63cb54941ee00f09 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Apr 14 17:40:56 2016 +0200 patch 7.4.1736 Problem: Unused variable. Solution: Remove it. (Yasuhiro Matsumoto)
author Christian Brabandt <cb@256bit.org>
date Thu, 14 Apr 2016 17:45:05 +0200
parents 3fc0f57ecb91
children
line wrap: on
line source

Test for Bufleave autocommand that deletes the buffer we are about to edit.

STARTTEST
:so small.vim
:au BufLeave test9.in bwipe yy
:e yy
:/^start of/,$w! test.out      " Write contents of this file
:qa!
ENDTEST

start of test file xx
end of test file xx