Mercurial > vim
changeset 2024:451bed7e9572 v7.2.321
updated for version 7.2-321
author | vimboss |
---|---|
date | Thu, 24 Dec 2009 14:01:12 +0000 |
parents | db3ca1048f7f |
children | d06a461924a3 |
files | src/eval.c src/normal.c src/version.c |
diffstat | 3 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/eval.c +++ b/src/eval.c @@ -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;