The begin-edit-sequence and end-edit-sequence method are used to bracket a set of buffer modifications so that the results are all displayed at once. The commands may be nested arbitrarily deep. Using these functions can greatly speed up displaying the changes.
When a buffer contains other buffers, using begin-edit-sequence and end-edit-sequence on the main buffer effectively brackets changes to the sub-buffers as well.
If the undoable flag is #f, then the changes made in the sequence cannot be reversed through the undo method. This flag is only effective for the outermost begin-edit-sequence when nested sequences are used.