vim-patch: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)

https://code.google.com/p/vim/source/detail?r=5d03c374712128077ac4c342aad02120ed98df70
This commit is contained in:
Justin M. Keyes
2014-04-01 13:35:21 -04:00
committed by Thiago de Arruda
parent c298edd5dc
commit 0895bf8828
2 changed files with 7 additions and 1 deletions

View File

@@ -4514,7 +4514,7 @@ eval7 (
if (**arg == '(') { /* recursive! */ if (**arg == '(') { /* recursive! */
/* If "s" is the name of a variable of type VAR_FUNC /* If "s" is the name of a variable of type VAR_FUNC
* use its contents. */ * use its contents. */
s = deref_func_name(s, &len, FALSE); s = deref_func_name(s, &len, !evaluate);
/* Invoke the function. */ /* Invoke the function. */
ret = get_func_tv(s, len, rettv, arg, ret = get_func_tv(s, len, rettv, arg,

View File

@@ -221,6 +221,12 @@ static char *(features[]) = {
static int included_patches[] = { static int included_patches[] = {
// Add new patch number below this line // Add new patch number below this line
166,
//165,
//164,
//163,
//162,
//161,
160, 160,
159, 159,
158, 158,