"J.P." writes: > I've added something similar to the proposed change as > > https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=d46c016f Actually, this has proved insufficient for detecting top-level and `eval-after-load' calls to `erc-update-modules'. The attached tweak hopefully addresses that.