]> git.eshelyaron.com Git - emacs.git/commit
Teach customize-option about erc-modules
authorF. Jason Park <jp@neverwas.me>
Tue, 30 Jan 2024 03:04:58 +0000 (19:04 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 4 Feb 2024 11:04:41 +0000 (12:04 +0100)
commit807496b8f0077bf8ae033fd392ca8976995165dd
tree9f0360d3fc57157ef7a261fc7fda12d33ed1608d
parent575daad33afeb0bfa7778cd4b48694506a087cd2
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.

(cherry picked from commit bb894845ed6a06e8b301251d62f8b4a73a09d5ea)
lisp/erc/erc-goodies.el
lisp/erc/erc.el