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 "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,