Revert a buffer to its saved state