summaryrefslogtreecommitdiff
path: root/src/autocmd.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-12 22:15:31 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-12 22:15:31 +0200
commit5055c56cfbedc6326c607d40c7a1241682f7675e (patch)
treed6c48637de428fbe90281d4b1394a78d2d36fc2f /src/autocmd.c
parent37d1673ce007c46ec2338f3236ae1b7b0324bd25 (diff)
downloadvim-git-5055c56cfbedc6326c607d40c7a1241682f7675e.tar.gz
patch 8.2.0965: has_funcundefined() is not usedv8.2.0965
Problem: Has_funcundefined() is not used. Solution: Delete the function. (Dominique Pellé, closes #6242)
Diffstat (limited to 'src/autocmd.c')
-rw-r--r--src/autocmd.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/autocmd.c b/src/autocmd.c
index 8e0754b69..d5b1651b7 100644
--- a/src/autocmd.c
+++ b/src/autocmd.c
@@ -1760,15 +1760,6 @@ has_cmdundefined(void)
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)
/*
* Return TRUE when there is a TextYankPost autocommand defined.