SUMOylation regulates pre-mRNA splicing to overcome DNA damage in fungi.