0
0
mirror of https://github.com/vim/vim.git synced 2025-10-13 06:54:15 -04:00

patch 8.1.1035: prop_remove() second argument is not optional

Problem:    prop_remove() second argument is not optional.
Solution:   Fix argument count.  Use "buf" instead of "curbuf". (closes #4147)
This commit is contained in:
Bram Moolenaar
2019-03-22 13:20:43 +01:00
parent 2ace1bd652
commit 0a2f578e22
4 changed files with 51 additions and 10 deletions

View File

@@ -788,7 +788,7 @@ static struct fst
{"prop_add", 3, 3, f_prop_add},
{"prop_clear", 1, 3, f_prop_clear},
{"prop_list", 1, 2, f_prop_list},
{"prop_remove", 2, 3, f_prop_remove},
{"prop_remove", 1, 3, f_prop_remove},
{"prop_type_add", 2, 2, f_prop_type_add},
{"prop_type_change", 2, 2, f_prop_type_change},
{"prop_type_delete", 1, 2, f_prop_type_delete},