]> granicus.if.org Git - vim/commitdiff
updated for version 7.2-061 v7.2.061
authorBram Moolenaar <Bram@vim.org>
Wed, 3 Dec 2008 08:52:26 +0000 (08:52 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 3 Dec 2008 08:52:26 +0000 (08:52 +0000)
src/eval.c
src/version.c

index ae78355854c2c413ea470eb199d25b65edebbbd7..75c4099bf69aaf78958a0f4f8c9ea9259bd2957d 100644 (file)
@@ -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
     {
index 9871ab481fc570a61d9476679105b87b26ab604d..01fba18a8847f492f3064be19e11ea2b4c38adc4 100644 (file)
@@ -676,6 +676,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    61,
 /**/
     60,
 /**/