Teach customize-option about erc-modules
authorF. Jason Park <jp@neverwas.me>
Tue, 30 Jan 2024 03:04:58 +0000 (19:04 -0800)
committerF. Jason Park <jp@neverwas.me>
Sat, 3 Feb 2024 01:03:43 +0000 (17:03 -0800)
commitbb894845ed6a06e8b301251d62f8b4a73a09d5ea
tree769f9643f2e6139b76a5aa99093459ef399b6fe7
parent82e50a23fea8bc435bfae8390008702aa7d74bda
Teach customize-option about erc-modules

* lisp/erc/erc-goodies.el (erc-scrolltobottom-mode)
(erc-scrolltobottom-enable): Use `setq' instead of `setopt' because
the latter isn't defined in Emacs 27 and 28.  This fix is unrelated to
the main thrust of this commit.
* lisp/erc/erc.el (erc-modules): Make good on decades old language in
info node "(erc) Modules" by ensuring `customize-option' can find this
option before its containing library is loaded.  Like
`gnus-select-method', this option serves as an entry point for
configuring the application and is presented that way in tutorials and
library front matter.  Moreover, it can't be reasonably autoloaded in
the traditional way because of its many dependencies and large textual
footprint.
(erc-display-message): Revise doc string.
lisp/erc/erc-goodies.el
lisp/erc/erc.el