mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 8.2.1111: inconsistent naming of get_list_tv() and eval_dict()
Problem: Inconsistent naming of get_list_tv() and eval_dict(). Solution: Rename get_list_tv() to eval_list(). Similarly for eval_number(), eval_string(), eval_lit_string() and a few others.
This commit is contained in:
@@ -2324,7 +2324,7 @@ f_exists(typval_T *argvars, typval_T *rettv)
|
||||
}
|
||||
else if (*p == '&' || *p == '+') // option
|
||||
{
|
||||
n = (get_option_tv(&p, NULL, TRUE) == OK);
|
||||
n = (eval_option(&p, NULL, TRUE) == OK);
|
||||
if (*skipwhite(p) != NUL)
|
||||
n = FALSE; // trailing garbage
|
||||
}
|
||||
|
Reference in New Issue
Block a user