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:
parent
0a1c0ece44
commit
c7be3f30d0
@ -12014,6 +12014,7 @@ f_histadd(argvars, rettv)
|
|||||||
str = get_tv_string_buf(&argvars[1], buf);
|
str = get_tv_string_buf(&argvars[1], buf);
|
||||||
if (*str != NUL)
|
if (*str != NUL)
|
||||||
{
|
{
|
||||||
|
init_history();
|
||||||
add_to_history(histype, str, FALSE, NUL);
|
add_to_history(histype, str, FALSE, NUL);
|
||||||
rettv->vval.v_number = TRUE;
|
rettv->vval.v_number = TRUE;
|
||||||
return;
|
return;
|
||||||
|
@ -5602,6 +5602,7 @@ nv_ident(cap)
|
|||||||
STRCAT(buf, "\\>");
|
STRCAT(buf, "\\>");
|
||||||
#ifdef FEAT_CMDHIST
|
#ifdef FEAT_CMDHIST
|
||||||
/* put pattern in search history */
|
/* put pattern in search history */
|
||||||
|
init_history();
|
||||||
add_to_history(HIST_SEARCH, buf, TRUE, NUL);
|
add_to_history(HIST_SEARCH, buf, TRUE, NUL);
|
||||||
#endif
|
#endif
|
||||||
normal_search(cap, cmdchar == '*' ? '/' : '?', buf, 0);
|
normal_search(cap, cmdchar == '*' ? '/' : '?', buf, 0);
|
||||||
|
@ -681,6 +681,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
321,
|
||||||
/**/
|
/**/
|
||||||
320,
|
320,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user