The instance variable local-edit-sequence? is #t when this buffer is in an edit-sequence and #f when it is not. The methods
on-edit-sequence, and after-edit-sequence are used to update it.