Mercurial > vim
diff src/autocmd.c @ 17616:83ad219cc133 v8.1.1805
patch 8.1.1805: au_did_filetype is declared twice
commit https://github.com/vim/vim/commit/6cd57d44669c02af9195f5601b882edd435b47e8
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 3 23:08:14 2019 +0200
patch 8.1.1805: au_did_filetype is declared twice
Problem: Au_did_filetype is declared twice.
Solution: Remove it from autocmd.c. (closes https://github.com/vim/vim/issues/4767)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 03 Aug 2019 23:15:06 +0200 |
parents | 40c4cb095d53 |
children | 6e11a5cb1533 |
line wrap: on
line diff
--- a/src/autocmd.c +++ b/src/autocmd.c @@ -240,16 +240,6 @@ static garray_T augroups = {0, 0, sizeof 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;