diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-08-03 23:08:14 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-08-03 23:08:14 +0200 |
commit | 6cd57d44669c02af9195f5601b882edd435b47e8 (patch) | |
tree | 47ef797854d96173a8ba1f9403f8d5823eb91b23 /src/autocmd.c | |
parent | 3c8ee629745737aa231fdd123826ae021e398e49 (diff) | |
download | vim-git-6cd57d44669c02af9195f5601b882edd435b47e8.tar.gz |
patch 8.1.1805: au_did_filetype is declared twicev8.1.1805
Problem: Au_did_filetype is declared twice.
Solution: Remove it from autocmd.c. (closes #4767)
Diffstat (limited to 'src/autocmd.c')
-rw-r--r-- | src/autocmd.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/autocmd.c b/src/autocmd.c index be8e72d2e..19b5deb71 100644 --- a/src/autocmd.c +++ b/src/autocmd.c @@ -240,16 +240,6 @@ static garray_T augroups = {0, 0, sizeof(char_u *), 10, NULL}; static char_u *deleted_augroup = NULL; /* - * Set by the apply_autocmds_group function if the given event is equal to - * EVENT_FILETYPE. Used by the readfile function in order to determine if - * EVENT_BUFREADPOST triggered the EVENT_FILETYPE. - * - * Relying on this value requires one to reset it prior calling - * apply_autocmds_group. - */ -int au_did_filetype INIT(= FALSE); - -/* * The ID of the current group. Group 0 is the default one. */ static int current_augroup = AUGROUP_DEFAULT; |