From 0895bf88282155f12ee464de16fed01b7c159fab Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Tue, 1 Apr 2014 13:35:21 -0400 Subject: 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 --- src/eval.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/eval.c') diff --git a/src/eval.c b/src/eval.c index f7bc70fc17..e29853a1b5 100644 --- a/src/eval.c +++ b/src/eval.c @@ -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, -- cgit