forked from aniani/vim
patch 8.2.0965: has_funcundefined() is not used
Problem: Has_funcundefined() is not used. Solution: Delete the function. (Dominique Pellé, closes #6242)
This commit is contained in:
@@ -1760,15 +1760,6 @@ has_cmdundefined(void)
|
|||||||
return (first_autopat[(int)EVENT_CMDUNDEFINED] != NULL);
|
return (first_autopat[(int)EVENT_CMDUNDEFINED] != NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
|
||||||
* Return TRUE when there is an FuncUndefined autocommand defined.
|
|
||||||
*/
|
|
||||||
int
|
|
||||||
has_funcundefined(void)
|
|
||||||
{
|
|
||||||
return (first_autopat[(int)EVENT_FUNCUNDEFINED] != NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
#if defined(FEAT_EVAL) || defined(PROTO)
|
#if defined(FEAT_EVAL) || defined(PROTO)
|
||||||
/*
|
/*
|
||||||
* Return TRUE when there is a TextYankPost autocommand defined.
|
* Return TRUE when there is a TextYankPost autocommand defined.
|
||||||
|
@@ -23,7 +23,6 @@ int has_textchangedI(void);
|
|||||||
int has_textchangedP(void);
|
int has_textchangedP(void);
|
||||||
int has_insertcharpre(void);
|
int has_insertcharpre(void);
|
||||||
int has_cmdundefined(void);
|
int has_cmdundefined(void);
|
||||||
int has_funcundefined(void);
|
|
||||||
int has_textyankpost(void);
|
int has_textyankpost(void);
|
||||||
int has_completechanged(void);
|
int has_completechanged(void);
|
||||||
void block_autocmds(void);
|
void block_autocmds(void);
|
||||||
|
@@ -754,6 +754,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
965,
|
||||||
/**/
|
/**/
|
||||||
964,
|
964,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user