diff --git a/doc/misc/erc.texi b/doc/misc/erc.texi index 1e973d9c434..aa0bc58a8ec 100644 --- a/doc/misc/erc.texi +++ b/doc/misc/erc.texi @@ -411,8 +411,9 @@ Kill current input line using @code{erc-bol} followed by @code{kill-line}. One way to add functionality to ERC is to customize which of its many modules are loaded. -There is a spiffy customize interface, which may be reached by typing -@kbd{M-x customize-option @key{RET} erc-modules @key{RET}}. When +You can do this by typing @kbd{C-h v erc-modules @key{RET}} and clicking +@samp{customize} near the bottom of the resulting help buffer, where it +says ``You can @emph{customize} this variable.'' When removing a module outside of Customize, you may wish to ensure it's disabled by invoking its associated minor-mode toggle with a nonpositive prefix argument, for example, @kbd{C-u - M-x 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 @@ buffer rather than a server buffer.") (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)