diff --git a/src/eval.c b/src/eval.c index 87490dd344..7f234a23ad 100644 --- a/src/eval.c +++ b/src/eval.c @@ -8074,11 +8074,13 @@ static struct fst {"argidx", 0, 0, f_argidx}, {"arglistid", 0, 2, f_arglistid}, {"argv", 0, 1, f_argv}, +#ifdef FEAT_FLOAT + {"asin", 1, 1, f_asin}, /* WJMc */ +#endif {"assert_equal", 2, 3, f_assert_equal}, {"assert_false", 1, 2, f_assert_false}, {"assert_true", 1, 2, f_assert_true}, #ifdef FEAT_FLOAT - {"asin", 1, 1, f_asin}, /* WJMc */ {"atan", 1, 1, f_atan}, {"atan2", 2, 2, f_atan2}, #endif diff --git a/src/option.c b/src/option.c index ad2694db9a..ebbe2b276c 100644 --- a/src/option.c +++ b/src/option.c @@ -5050,7 +5050,12 @@ do_set(arg, opt_flags) /* If error detected, print the error message. */ if (errmsg != NULL) + { +#if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL) + vim_free(saved_origval); +#endif goto skip; + } #if defined(FEAT_AUTOCMD) && defined(FEAT_EVAL) if (saved_origval != NULL) { diff --git a/src/version.c b/src/version.c index fd018372c8..cd8550bca6 100644 --- a/src/version.c +++ b/src/version.c @@ -756,6 +756,10 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 972, +/**/ + 971, /**/ 970, /**/