aboutsummaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-04-01 13:35:21 -0400
committerThiago de Arruda <tpadilha84@gmail.com>2014-04-02 18:54:36 -0300
commit0895bf88282155f12ee464de16fed01b7c159fab (patch)
treef7bab9c2b4729fcbdc131e0c7cff8a816688de18 /src/eval.c
parentc298edd5dc2484d41ea4620d1d0172042b647a36 (diff)
downloadrneovim-0895bf88282155f12ee464de16fed01b7c159fab.tar.gz
rneovim-0895bf88282155f12ee464de16fed01b7c159fab.tar.bz2
rneovim-0895bf88282155f12ee464de16fed01b7c159fab.zip
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
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
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,