Save and restore cpo options for highlights