>From 560390753c087a8e0dd8e6e1d2803ff8fff4cf24 Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Mon, 14 Oct 2024 19:32:16 -0700 Subject: [PATCH] Don't autoload erc-modules * lisp/erc/erc.el (erc-modules): Remove autoload because it caused customizations for this option to load the main library. This reverts the thrust of bb894845 "Teach customize-option about erc-modules", which was added in ERC 5.6 and Emacs 30. The motivation for the original offending change was to allow new users to run M-x customize-option RET erc-modules RET immediately after start up instead of M-x customize-group RET, followed by an I-search. --- lisp/erc/erc.el | 2 -- 1 file changed, 2 deletions(-) diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 30641c2bd88..688d2f4b1ae 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -2263,8 +2263,6 @@ erc--sort-modules (cl-pushnew mod (if (get mod 'erc--module) built-in third-party))) `(,@(sort built-in #'string-lessp) ,@(nreverse third-party)))) -;;;###autoload(custom-autoload 'erc-modules "erc") - (defcustom erc-modules '( autojoin button completion fill imenu irccontrols list match menu move-to-prompt netsplit networks readonly ring stamp track) -- 2.46.2