]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-321 v7.2.321
authorBram Moolenaar <Bram@vim.org>
Thu, 24 Dec 2009 14:01:12 +0000 (14:01 +0000)
committerBram Moolenaar <Bram@vim.org>
Thu, 24 Dec 2009 14:01:12 +0000 (14:01 +0000)
src/eval.c
src/normal.c
src/version.c

index 9f70467703519beb0013b78fc5ab8f4da87f2381..0ce6ff14cd54d1c3e95f5f739a9e213122f5df4a 100644 (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;
index 160beb6545ca8f7bff5371289789c4c0d9d90774..befe4ac9e1a19a1f7239fff8200b3be150b35daf 100644 (file)
@@ -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);
index 5aae1bb5deacd4c90aceb0ecd25e755e3c0d3cc7..2798658436d554e1d8a815df0c256c474e651cc7 100644 (file)
@@ -681,6 +681,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    321,
 /**/
     320,
 /**/