Ends diff properly when quitting diff mode (use of diffoff).