# HG changeset patch # User vimboss # Date 1261663272 0 # Node ID 451bed7e9572b45d2bc98bb5c6680e7bdf4a3fc3 # Parent db3ca1048f7f800fec81696d29ff8a7a3027a64d updated for version 7.2-321 diff --git a/src/eval.c b/src/eval.c --- 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; diff --git a/src/normal.c b/src/normal.c --- a/src/normal.c +++ b/src/normal.c @@ -5602,6 +5602,7 @@ nv_ident(cap) STRCAT(buf, "\\>"); #ifdef FEAT_CMDHIST /* put pattern in search history */ + init_history(); add_to_history(HIST_SEARCH, buf, TRUE, NUL); #endif normal_search(cap, cmdchar == '*' ? '/' : '?', buf, 0); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -682,6 +682,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 321, +/**/ 320, /**/ 319,