4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: histadd() and searching with "*" fails to add entry to history
13 Solution: Initialize the history. (Lech Lorens)
14 Files: src/eval.c, src/normal.c
17 *** ../vim-7.2.320/src/eval.c 2009-11-17 12:20:30.000000000 +0100
18 --- src/eval.c 2009-12-24 14:37:50.000000000 +0100
22 str = get_tv_string_buf(&argvars[1], buf);
26 add_to_history(histype, str, FALSE, NUL);
27 rettv->vval.v_number = TRUE;
29 *** ../vim-7.2.320/src/normal.c 2009-05-17 13:30:58.000000000 +0200
30 --- src/normal.c 2009-12-24 14:38:28.000000000 +0100
36 /* put pattern in search history */
38 add_to_history(HIST_SEARCH, buf, TRUE, NUL);
40 normal_search(cap, cmdchar == '*' ? '/' : '?', buf, 0);
41 *** ../vim-7.2.320/src/version.c 2009-12-16 19:02:05.000000000 +0100
42 --- src/version.c 2009-12-24 14:39:46.000000000 +0100
46 { /* Add new patch number below this line */
52 hundred-and-one symptoms of being an internet addict:
53 43. You tell the kids they can't use the computer because "Daddy's got work to
54 do" and you don't even have a job.
56 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
57 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
58 \\\ download, build and distribute -- http://www.A-A-P.org ///
59 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///