summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2008-12-03 08:52:26 +0000
committerBram Moolenaar <Bram@vim.org>2008-12-03 08:52:26 +0000
commit3d0089f5f46b00a87e5438e24c3ec709aa190f36 (patch)
treef8dbad629de8b3b0b56779ff7731eaeb6c51f9ca
parent9f94b05b1f1b6857d126471b25b153b374a12016 (diff)
downloadvim-git-3d0089f5f46b00a87e5438e24c3ec709aa190f36.tar.gz
updated for version 7.2-061v7.2.061
-rw-r--r--src/eval.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/eval.c b/src/eval.c
index ae7835585..75c4099bf 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -10339,7 +10339,8 @@ f_function(argvars, rettv)
s = get_tv_string(&argvars[0]);
if (s == NULL || *s == NUL || VIM_ISDIGIT(*s))
EMSG2(_(e_invarg2), s);
- else if (!function_exists(s))
+ /* Don't check an autoload name for existence here. */
+ else if (vim_strchr(s, AUTOLOAD_CHAR) == NULL && !function_exists(s))
EMSG2(_("E700: Unknown function: %s"), s);
else
{
diff --git a/src/version.c b/src/version.c
index 9871ab481..01fba18a8 100644
--- a/src/version.c
+++ b/src/version.c
@@ -677,6 +677,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 61,
+/**/
60,
/**/
59,