Skip to content

Commit 2375f35

Browse files
committed
Merge remote-tracking branch 'vim/master'
2 parents 32080ba + e40d75f commit 2375f35

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/eval.c

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20760,8 +20760,14 @@ f_timer_start(typval_T *argvars, typval_T *rettv)
2076020760
static void
2076120761
f_timer_stop(typval_T *argvars, typval_T *rettv UNUSED)
2076220762
{
20763-
timer_T *timer = find_timer(get_tv_number(&argvars[0]));
20763+
timer_T *timer;
2076420764

20765+
if (argvars[0].v_type != VAR_NUMBER)
20766+
{
20767+
EMSG(_(e_number_exp));
20768+
return;
20769+
}
20770+
timer = find_timer(get_tv_number(&argvars[0]));
2076520771
if (timer != NULL)
2076620772
stop_timer(timer);
2076720773
}

src/version.c

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

769769
static int included_patches[] =
770770
{ /* Add new patch number below this line */
771+
/**/
772+
1831,
771773
/**/
772774
1830,
773775
/**/

0 commit comments

Comments
 (0)