The begin-edit-sequence and end-edit-sequence methods 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 brackets some changes to the sub-buffers as well, but it is not as effective when a sub-buffer changes as calling begin-edit-sequence and end-edit-sequence for the sub-buffer.
See also refresh-delayed?.
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.