]> git.eshelyaron.com Git - emacs.git/commit
Warn about top-level erc-update-modules calls
authorF. Jason Park <jp@neverwas.me>
Wed, 18 Oct 2023 06:36:12 +0000 (23:36 -0700)
committerF. Jason Park <jp@neverwas.me>
Fri, 20 Oct 2023 21:53:24 +0000 (14:53 -0700)
commita74b5de31f676d3a106687a3b972901c22784bff
treed8a28b43458057addac045ef88e2861fc5dde49e
parentb86b187aa90a12a5228f7169eb3269684464f4ec
Warn about top-level erc-update-modules calls

* doc/misc/erc.texi (Modules): Describe unfavorable practices enacted
by third-party modules, like running `erc-update-modules' on load.
* lisp/erc/erc.el (erc-modules): Clarify comment in `custom-set'
function.
(erc--warn-about-aberrant-modules): Tweak warning message.
(erc--requiring-module-mode-p): New internal variable.
(erc--find-mode): Guard against recursive `erc-update-module'
invocations.  (Bug#57955)
doc/misc/erc.texi
lisp/erc/erc.el