From: Bram Moolenaar Date: Sat, 22 Jan 2011 00:13:39 +0000 (+0100) Subject: updated for version 7.3.105 X-Git-Tag: v7.3.105 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=445edda2f9a52ff9bce83ee5334d4ece2bd20494;p=thirdparty%2Fvim.git updated for version 7.3.105 Problem: Can't get the value of "b:changedtick" with getbufvar(). Solution: Make it work. (Christian Brabandt) --- diff --git a/src/eval.c b/src/eval.c index a46789fdf0..af4ba893ff 100644 --- a/src/eval.c +++ b/src/eval.c @@ -10866,6 +10866,11 @@ f_getbufvar(argvars, rettv) if (*varname == '&') /* buffer-local-option */ get_option_tv(&varname, rettv, TRUE); + else if (STRCMP(varname, "changedtick") == 0) + { + rettv->v_type = VAR_NUMBER; + rettv->vval.v_number = curbuf->b_changedtick; + } else { if (*varname == NUL) diff --git a/src/version.c b/src/version.c index 1cb55bfec1..c16a374359 100644 --- a/src/version.c +++ b/src/version.c @@ -714,6 +714,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 105, /**/ 104, /**/