summaryrefslogtreecommitdiff
path: root/src/eval.c
diff options
context:
space:
mode:
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 6b8d736ef..cd706b49c 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -17775,7 +17775,7 @@ script_autoload(name, reload)
}
/* Try loading the package from $VIMRUNTIME/autoload/<name>.vim */
- if (cmd_runtime(scriptname, FALSE) == OK)
+ if (source_runtime(scriptname, FALSE) == OK)
ret = TRUE;
}