refactor: remove unused fn au_event_is_empty #35862

Redundant with `has_event`.
This commit is contained in:
Justin M. Keyes
2025-09-21 04:14:51 -04:00
committed by GitHub
parent c2136e3590
commit c947b8da10

View File

@@ -2508,12 +2508,6 @@ char *aucmd_handler_to_string(AutoCmd *ac)
return callback_to_string(&ac->handler_fn, NULL); return callback_to_string(&ac->handler_fn, NULL);
} }
bool au_event_is_empty(event_T event)
FUNC_ATTR_PURE
{
return kv_size(autocmds[(int)event]) == 0;
}
// Arg Parsing Functions // Arg Parsing Functions
/// Scan over the events. "*" stands for all events. /// Scan over the events. "*" stands for all events.