comparison 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
comparison
equal deleted inserted replaced
17615:8724920596b0 17616:83ad219cc133
238 #define AUGROUP_NAME(i) (((char_u **)augroups.ga_data)[i]) 238 #define AUGROUP_NAME(i) (((char_u **)augroups.ga_data)[i])
239 /* use get_deleted_augroup() to get this */ 239 /* use get_deleted_augroup() to get this */
240 static char_u *deleted_augroup = NULL; 240 static char_u *deleted_augroup = NULL;
241 241
242 /* 242 /*
243 * Set by the apply_autocmds_group function if the given event is equal to
244 * EVENT_FILETYPE. Used by the readfile function in order to determine if
245 * EVENT_BUFREADPOST triggered the EVENT_FILETYPE.
246 *
247 * Relying on this value requires one to reset it prior calling
248 * apply_autocmds_group.
249 */
250 int au_did_filetype INIT(= FALSE);
251
252 /*
253 * The ID of the current group. Group 0 is the default one. 243 * The ID of the current group. Group 0 is the default one.
254 */ 244 */
255 static int current_augroup = AUGROUP_DEFAULT; 245 static int current_augroup = AUGROUP_DEFAULT;
256 246
257 static int au_need_clean = FALSE; /* need to delete marked patterns */ 247 static int au_need_clean = FALSE; /* need to delete marked patterns */