]> git.eshelyaron.com Git - emacs.git/commit
Don't autoload erc-modules
authorF. Jason Park <jp@neverwas.me>
Tue, 15 Oct 2024 02:32:16 +0000 (19:32 -0700)
committerEshel Yaron <me@eshelyaron.com>
Tue, 22 Oct 2024 18:55:03 +0000 (20:55 +0200)
commit6c25fca3cbb6651234ee9dd558d638683fb23a01
tree0425fe9768e2cfd2a2467db7d08c13331b0fda99
parent0cbaa97ed03ccb8c8e6e3c819b8b6812e05ced6b
Don't autoload erc-modules

* doc/misc/erc.texi (Modules): Recommend using `describe-variable'
instead of `customize-option' because the latter needs the symbol to be
loaded.
* lisp/erc/erc.el (erc-modules): Remove autoload cookie 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 startup instead
of M-x customize-group RET, followed by an I-search.  (Bug#73812)

(cherry picked from commit 1854f2751e3f73e1e5f12f6de993b6357de1766b)
doc/misc/erc.texi
lisp/erc/erc.el