Fix org-src-edit interaction with undo.