]> git.eshelyaron.com Git - emacs.git/commit
Add helper to determine local channels in ERC
authorF. Jason Park <jp@neverwas.me>
Mon, 16 Aug 2021 12:01:16 +0000 (05:01 -0700)
committerF. Jason Park <jp@neverwas.me>
Thu, 30 Jun 2022 22:03:26 +0000 (15:03 -0700)
commit1c24af0fcb8a8326fe5cdc75672bf4099b191a00
treee6015d2a97e73b22f9208b406f34543a1dcfb287
parent4e312c07f7a6998a818901e46341356316d248e0
Add helper to determine local channels in ERC

* lisp/erc/erc.el (erc--valid-local-channel-p): Add internal helper to
determine whether an IRC channel is local according to its network's
CHANTYPES ISUPPORT parameter.

* test/lisp/erc/erc-tests.el (erc--valid-local-channel-p): Add test
for this helper.
lisp/erc/erc.el
test/lisp/erc/erc-tests.el