From: Bram Moolenaar Date: Wed, 5 Feb 2014 21:13:05 +0000 (+0100) Subject: updated for version 7.4.166 X-Git-Tag: v7.4.166 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f31ecce97eb2aa77a9f43725710af0619e409035;p=vim updated for version 7.4.166 Problem: Auto-loading a function for code that won't be executed. Solution: Do not auto-load when evaluation is off. (Yasuhiro Matsumoto) --- diff --git a/src/eval.c b/src/eval.c index 3786adfdf..65a947bbd 100644 --- a/src/eval.c +++ b/src/eval.c @@ -5159,7 +5159,7 @@ eval7(arg, rettv, evaluate, want_string) { /* If "s" is the name of a variable of type VAR_FUNC * use its contents. */ - s = deref_func_name(s, &len, FALSE); + s = deref_func_name(s, &len, !evaluate); /* Invoke the function. */ ret = get_func_tv(s, len, rettv, arg, diff --git a/src/version.c b/src/version.c index 821feb943..3e6282a49 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 166, /**/ 165, /**/