]> git.pld-linux.org Git - packages/vim.git/blame - 7.3.105
- new
[packages/vim.git] / 7.3.105
CommitLineData
0611be5f
ER
1To: vim_dev@googlegroups.com
2Subject: Patch 7.3.105
3Fcc: outbox
4From: Bram Moolenaar <Bram@moolenaar.net>
5Mime-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
8------------
9
10Patch 7.3.105
11Problem: Can't get the value of "b:changedtick" with getbufvar().
12Solution: Make it work. (Christian Brabandt)
13Files: src/eval.c
14
15
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
18***************
19*** 10866,10871 ****
20--- 10866,10876 ----
21
22 if (*varname == '&') /* buffer-local-option */
23 get_option_tv(&varname, rettv, TRUE);
24+ else if (STRCMP(varname, "changedtick") == 0)
25+ {
26+ rettv->v_type = VAR_NUMBER;
27+ rettv->vval.v_number = curbuf->b_changedtick;
28+ }
29 else
30 {
31 if (*varname == NUL)
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
34***************
35*** 716,717 ****
36--- 716,719 ----
37 { /* Add new patch number below this line */
38+ /**/
39+ 105,
40 /**/
41
42--
43hundred-and-one symptoms of being an internet addict:
44133. You communicate with people on other continents more than you
45 do with your own neighbors.
46
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 ///
This page took 0.072472 seconds and 4 git commands to generate.