eval: Move dict_set_keys_readonly to typval.c

This commit is contained in:
ZyX
2016-08-20 23:14:50 +03:00
parent ecff8387f4
commit 983a5532ca
4 changed files with 18 additions and 18 deletions

View File

@@ -2578,7 +2578,7 @@ static void do_autocmd_textyankpost(oparg_T *oap, yankreg_T *reg)
buf[1] = NUL;
dict_add_nr_str(dict, "operator", 0, (char_u *)buf);
dict_set_keys_readonly(dict);
tv_dict_set_keys_readonly(dict);
textlock++;
apply_autocmds(EVENT_TEXTYANKPOST, NULL, NULL, false, curbuf);
textlock--;