0
0
mirror of https://github.com/vim/vim.git synced 2025-09-27 04:14:06 -04:00

updated for version 7.2-321

This commit is contained in:
Bram Moolenaar
2009-12-24 14:01:12 +00:00
parent 0a1c0ece44
commit c7be3f30d0
3 changed files with 4 additions and 0 deletions

View File

@@ -12014,6 +12014,7 @@ f_histadd(argvars, rettv)
str = get_tv_string_buf(&argvars[1], buf);
if (*str != NUL)
{
init_history();
add_to_history(histype, str, FALSE, NUL);
rettv->vval.v_number = TRUE;
return;