Don't modify buffer if there are no modfications.