Drew Adams writes: >> I think Drew meant to remove the *usage* of the hooks. That is, remove >> cases of (add-hook 'foo-load-hook ...), before deprecating foo-load- >> hook itself. > > Yes. Sorry if that wasn't clear. That should be sufficient for > testing the (later) removal of the variables, as far as their > usage by vanilla Emacs code is concerned. Thanks for clearing that up. I've attached a patch removing all uses of load-hooks that I could find in the tree. In my opinion, the patch demonstrates clearly that, in every case where we use load-hooks, eval-after-load makes the code both clearer and more succinct. I don't mind if we have a certain grace period between installing this and declaring the variables obsolete. I don't see that it's necessary to wait until Emacs 29.1 to do it, though. Best regards, Stefan Kangas