mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 8.0.0897: wrong error message for invalid term_finish value
Problem: Wrong error message for invalid term_finish value Solution: Pass the right argument to emsg().
This commit is contained in:
@@ -4426,7 +4426,7 @@ get_job_options(typval_T *tv, jobopt_T *opt, int supported)
|
|||||||
val = get_tv_string(item);
|
val = get_tv_string(item);
|
||||||
if (STRCMP(val, "open") != 0 && STRCMP(val, "close") != 0)
|
if (STRCMP(val, "open") != 0 && STRCMP(val, "close") != 0)
|
||||||
{
|
{
|
||||||
EMSG2(_(e_invarg2), "drop");
|
EMSG2(_(e_invarg2), val);
|
||||||
return FAIL;
|
return FAIL;
|
||||||
}
|
}
|
||||||
opt->jo_set2 |= JO2_TERM_FINISH;
|
opt->jo_set2 |= JO2_TERM_FINISH;
|
||||||
|
@@ -769,6 +769,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 */
|
||||||
|
/**/
|
||||||
|
897,
|
||||||
/**/
|
/**/
|
||||||
896,
|
896,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user