Called just before a top-level (i.e., unnested) edit sequence starts.
During an edit sequence, all callbacks methods are invoked normally, but it may be appropriate for these callbacks to delay computation during an edit sequence. The callbacks must manage this delay manually. Thus, when overriding other callback methods, such as on-insert in wx:media-edit%, on-insert in wx:media-pasteboard%, after-insert in wx:media-edit%, or after-insert in wx:media-pasteboard%, consider overriding on-edit-sequence and after-edit-sequence as well.
``Top-level edit sequence'' refers to an outermost pair of begin-edit-sequence and end-edit-sequence calls. The embeddeding of a buffer within another buffer does not affect the timing of calls to on-edit-sequence, even if the embedding buffer is in an edit sequence.
Dispatches to the mode.
Updates local-edit-sequence?.