On Sun, Aug 07, 2022 at 08:12:24PM +0200, Patrice Dumas wrote: > On Fri, Aug 05, 2022 at 11:11:10PM +0100, Gavin Smith wrote: > > On Sun, Jul 31, 2022 at 09:22:01AM +0200, Patrice Dumas wrote: > > > > * Call functions in the module as it is being loaded to register > > errors. > > > > A patch for the second approach is at the end of this email. I'm > > sure you'll have ideas for how this could be improved. > > The approach looks perfect to me.
I actually didn't need it, as I preferred to error out in epub_setup to have the value of other customization variables. But the interface could be interesting to be able to error out early. -- Pat
