Skip to content

Commit aeac900

Browse files
committed
patch 7.4.2341
Problem: Tiny things. Test doesn't clean up properly. Solution: Adjust comment and white space. Restore option value.
1 parent 64d8e25 commit aeac900

4 files changed

Lines changed: 7 additions & 2 deletions

File tree

src/ex_cmds.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3947,7 +3947,7 @@ do_ecmd(
39473947
buf_copy_options(buf, BCO_ENTER);
39483948

39493949
/* Close the link to the current buffer. This will set
3950-
* curwin->w_buffer to NULL. */
3950+
* oldwin->w_buffer to NULL. */
39513951
u_sync(FALSE);
39523952
close_buffer(oldwin, curbuf,
39533953
(flags & ECMD_HIDE) ? 0 : DOBUF_UNLOAD, FALSE);

src/message.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1815,7 +1815,7 @@ screen_puts_mbyte(char_u *s, int l, int attr)
18151815
void
18161816
msg_puts(char_u *s)
18171817
{
1818-
msg_puts_attr(s, 0);
1818+
msg_puts_attr(s, 0);
18191819
}
18201820

18211821
void

src/testdir/test_autocmd.vim

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ if has('timers')
2020
call feedkeys('a', 'x!')
2121
call assert_equal(1, g:triggered)
2222
au! CursorHoldI
23+
set updatetime&
2324
endfunc
2425

2526
func Test_cursorhold_insert_ctrl_x()
@@ -31,6 +32,7 @@ if has('timers')
3132
call feedkeys("a\<C-X>", 'x!')
3233
call assert_equal(0, g:triggered)
3334
au! CursorHoldI
35+
set updatetime&
3436
endfunc
3537
endif
3638

@@ -220,6 +222,7 @@ func Test_augroup_warning()
220222
augroup Another
221223
augroup END
222224
call assert_true(match(execute('au VimEnter'), "-Deleted-.*VimEnter") >= 0)
225+
augroup! Another
223226

224227
" no warning for postpone aucmd delete
225228
augroup StartOK

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -763,6 +763,8 @@ static char *(features[]) =
763763

764764
static int included_patches[] =
765765
{ /* Add new patch number below this line */
766+
/**/
767+
2341,
766768
/**/
767769
2340,
768770
/**/

0 commit comments

Comments
 (0)