Restore 'foldenable' setting when diff ends

After finishing a diff session, the foldenable settings should be
restored to it's previous value.