summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2009-12-24 14:01:12 +0000
committerBram Moolenaar <Bram@vim.org>2009-12-24 14:01:12 +0000
commitc7be3f30d0a7002d4ec7dd71fb7ccfafd3fa2dde (patch)
treeba68fbbc9610b9a87fca0f0ac5390a44ce3e913e
parent0a1c0ece44f2c7f7a480d9e2b7006d904f2e52d1 (diff)
downloadvim-git-c7be3f30d0a7002d4ec7dd71fb7ccfafd3fa2dde.tar.gz
updated for version 7.2-321v7.2.321
-rw-r--r--src/eval.c1
-rw-r--r--src/normal.c1
-rw-r--r--src/version.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/eval.c b/src/eval.c
index 9f7046770..0ce6ff14c 100644
--- 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
index 160beb654..befe4ac9e 100644
--- 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
index 5aae1bb5d..279865843 100644
--- 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,