0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -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;

View 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);

View File

@ -681,6 +681,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
321,
/**/
320,
/**/