On Fri, Aug 05, 2022 at 11:18:21PM +0100, Gavin Smith wrote: > > It would be better if we could avoid loading the rest of the module > > once the problem is detected, although I don't know if this is > > possible without calling "die". > > I suppose one way would be to take the top-level code calling > functions like texinfo_register_handler and put them inside > a function like "import" or "init". The loading code in > Texinfo::Config::GNUT_load_init_file would only call this > function if there were no errors.
I don't think it is worth it, the init files should not load too many modules anyway. -- Pat
