As Dave noted, CV transformers, with a ferroresonant coil will ride out blips and even voltage outputs to a near constant.
The downside is that they are hummy things. I have mine connected downstream of the timer, which may introduce turn on transients, but the hum drove me nuts. I go into the darkroom for almost a kind of mediation compatred to my day job.
Mine was found used at a camera store about 5 years ago for $60, and I snapped it up, knowing it was a a bargan.
If I was to do it from the start, I would mount it at the main panel, and then run a circuit dedicated to the enlarger timer from it.