January 19th 2020
Begin an edit group to merge all edits across all buffers
the standard custom layer context pointer
When inside a global history edit group, all edits are merged into group edits, and the global edit number counter is frozen. Groups are formed by a nest counter, so that each call to global_history_edit_group_begin must be matched by a call to global_history_edit_group_end.