1 To: vim_dev@googlegroups.com
4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
11 Problem: Can't get the value of "b:changedtick" with getbufvar().
12 Solution: Make it work. (Christian Brabandt)
16 *** ../vim-7.3.104/src/eval.c 2011-01-17 20:08:03.000000000 +0100
17 --- src/eval.c 2011-01-22 01:10:42.000000000 +0100
22 if (*varname == '&') /* buffer-local-option */
23 get_option_tv(&varname, rettv, TRUE);
24 + else if (STRCMP(varname, "changedtick") == 0)
26 + rettv->v_type = VAR_NUMBER;
27 + rettv->vval.v_number = curbuf->b_changedtick;
32 *** ../vim-7.3.104/src/version.c 2011-01-22 00:58:15.000000000 +0100
33 --- src/version.c 2011-01-22 01:13:19.000000000 +0100
37 { /* Add new patch number below this line */
43 hundred-and-one symptoms of being an internet addict:
44 133. You communicate with people on other continents more than you
45 do with your own neighbors.
47 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
48 /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
49 \\\ an exciting new programming language -- http://www.Zimbu.org ///
50 \\\ help me help AIDS victims -- http://ICCF-Holland.org ///