0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

patch 7.4.2346

Problem:    Autocommand test fails when run directly, passes when run as part
            of test_alot.
Solution:   Add command to make the cursor move.  Close a tab page.
This commit is contained in:
Bram Moolenaar
2016-09-08 22:10:06 +02:00
parent 0eaadec6b2
commit f18c4dbbe5
2 changed files with 6 additions and 0 deletions

View File

@@ -13,6 +13,9 @@ if has('timers')
endfunc endfunc
func Test_cursorhold_insert() func Test_cursorhold_insert()
" Need to move the cursor.
call feedkeys("ggG", "xt")
let g:triggered = 0 let g:triggered = 0
au CursorHoldI * let g:triggered += 1 au CursorHoldI * let g:triggered += 1
set updatetime=20 set updatetime=20
@@ -93,6 +96,7 @@ function Test_autocmd_bufwinleave_with_tabfirst()
augroup END augroup END
call setline(1, ['a', 'b', 'c']) call setline(1, ['a', 'b', 'c'])
edit! a.txt edit! a.txt
tabclose
endfunc endfunc
" SEGV occurs in older versions. (At least 7.4.2321 or older) " SEGV occurs in older versions. (At least 7.4.2321 or older)

View File

@@ -763,6 +763,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
2346,
/**/ /**/
2345, 2345,
/**/ /**/