vim-patch:7.4.2341

Problem:    Tiny things.  Test doesn't clean up properly.
Solution:   Adjust comment and white space. Restore option value.
This commit is contained in:
Justin M. Keyes 2017-03-21 10:24:40 +01:00
parent 4c18670e91
commit 4a2e6f460d
3 changed files with 5 additions and 2 deletions

View File

@ -2294,7 +2294,7 @@ int do_ecmd(
}
// Close the link to the current buffer. This will set
// curwin->w_buffer to NULL.
// oldwin->w_buffer to NULL.
u_sync(false);
close_buffer(oldwin, curbuf,
(flags & ECMD_HIDE) || curbuf->terminal ? 0 : DOBUF_UNLOAD,

View File

@ -33,6 +33,7 @@ if has('timers')
call feedkeys('a', 'x!')
call assert_equal(1, g:triggered)
au! CursorHoldI
set updatetime&
endfunc
func Test_cursorhold_insert_ctrl_x()
@ -44,6 +45,7 @@ if has('timers')
call feedkeys("a\<C-X>", 'x!')
call assert_equal(0, g:triggered)
au! CursorHoldI
set updatetime&
endfunc
endif
@ -223,6 +225,7 @@ func Test_augroup_warning()
augroup Another
augroup END
call assert_true(match(execute('au VimEnter'), "-Deleted-.*VimEnter") >= 0)
augroup! Another
" no warning for postpone aucmd delete
augroup StartOK

View File

@ -100,7 +100,7 @@ static int included_patches[] = {
// 2344 NA
// 2343,
// 2342 NA
// 2341,
2341,
// 2340 NA
// 2339,
// 2338 NA