Mercurial > vim
changeset 9951:d990a4394c9d v7.4.2249
commit https://github.com/vim/vim/commit/ba2099034f92a2814494f37bddb0c57d034401b4
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Aug 24 22:06:38 2016 +0200
patch 7.4.2249
Problem: Missing colon in error message.
Solution: Add the colon. (Dominique Pelle)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 24 Aug 2016 22:15:07 +0200 |
parents | 1d8b0ed96c06 |
children | dc765f42b3f1 |
files | src/userfunc.c src/version.c |
diffstat | 2 files changed, 5 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/userfunc.c +++ b/src/userfunc.c @@ -1955,7 +1955,7 @@ ex_function(exarg_T *eap) p += 7; if (current_funccal == NULL) { - emsg_funcname(N_("E932 Closure function should not be at top level: %s"), + emsg_funcname(N_("E932: Closure function should not be at top level: %s"), name == NULL ? (char_u *)"" : name); goto erret; } @@ -2738,7 +2738,7 @@ ex_delfunction(exarg_T *eap) /* A normal function (not a numbered function or lambda) has a * refcount of 1 for the entry in the hashtable. When deleting * it and the refcount is more than one, it should be kept. - * A numbered function and lambda snould be kept if the refcount is + * A numbered function and lambda should be kept if the refcount is * one or more. */ if (fp->uf_refcount > (func_name_refcount(fp->uf_name) ? 0 : 1)) { @@ -3479,7 +3479,7 @@ free_unref_funccal(int copyID, int testi } /* - * Get function call environment based on bactrace debug level + * Get function call environment based on backtrace debug level */ static funccall_T * get_funccal(void)