From a63780b9770699bf8fda93affeab2c728bc76912 Mon Sep 17 00:00:00 2001 From: Sean Dewar Date: Wed, 3 Nov 2021 13:15:47 +0000 Subject: [PATCH] patch 8.2.3576: some functions are not documented for use with a method Problem: Some functions are not documented for use with a method. Solution: Add examples. Fix that sign_unplacelist() only takes one argument. (Sean Dewar, closes #9081) --- src/evalfunc.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/evalfunc.c b/src/evalfunc.c index 08438242b..bbea3b1c9 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -1955,7 +1955,7 @@ static funcentry_T global_functions[] = ret_number_bool, SIGN_FUNC(f_sign_undefine)}, {"sign_unplace", 1, 2, FEARG_1, arg2_string_dict, ret_number_bool, SIGN_FUNC(f_sign_unplace)}, - {"sign_unplacelist", 1, 2, FEARG_1, arg1_list_any, + {"sign_unplacelist", 1, 1, FEARG_1, arg1_list_any, ret_list_number, SIGN_FUNC(f_sign_unplacelist)}, {"simplify", 1, 1, FEARG_1, arg1_string, ret_string, f_simplify}, diff --git a/src/version.c b/src/version.c index 27331c95d..c8ea131ee 100644 --- a/src/version.c +++ b/src/version.c @@ -757,6 +757,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 3576, /**/ 3575, /**/ -- 2.50.1