Problem: Crash when calling mapset() with a list as first argument.
Solution: Check for NULL. (closes #7040)
char_u *arg;
which = tv_get_string_buf_chk(&argvars[0], buf);
+ if (which == NULL)
+ return;
mode = get_map_mode(&which, 0);
is_abbr = (int)tv_get_number(&argvars[1]);
iunmap K
let &cpo = cpo_save
bwipe!
+
+ call assert_fails('call mapset([], v:false, {})', 'E730:')
endfunc
func Check_ctrlb_map(d, check_alt)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1773,
/**/
1772,
/**/