summaryrefslogtreecommitdiff
path: root/lisp/textmodes/enriched.el
diff options
context:
space:
mode:
authorKevin Brubeck Unhammer <unhammer@fsfe.org>2021-09-16 15:48:28 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2021-09-16 15:50:14 +0200
commit9bb8d90cddf11df3aecdc6c04e762773dfa0cb92 (patch)
treee17ad2482c796cece189bfa568ae402695e2d835 /lisp/textmodes/enriched.el
parentcfae83adacf0dd5309d20eb383e51a7ae48514b0 (diff)
downloademacs-9bb8d90cddf11df3aecdc6c04e762773dfa0cb92.tar.gz
emacs-9bb8d90cddf11df3aecdc6c04e762773dfa0cb92.tar.bz2
emacs-9bb8d90cddf11df3aecdc6c04e762773dfa0cb92.zip
Allow irc network symbols in erc-autojoin-channels-alist
* lisp/erc/erc-join.el (erc-autojoin-channels-alist): Explain the extension. (erc-autojoin-server-match): New function. (erc-autojoin-channels): Use it. (erc-autojoin-current-server): New function. (erc-autojoin-add): Use it. (erc-autojoin-remove): Ditto. This can be useful when connecting to an IRC proxy like Weechat that relays several networks under the same server. If we just keyed on the server name, we would end up joining a channel on all networks whenever we join one network on that server. Networks are simply stored as symbols instead of regexes, since that's how `erc-network' works. The `erc-autojoin-add' function will still auto-add servers as strings if the network doesn't have at least one entry in `erc-autojoin-channels-alist'.
Diffstat (limited to 'lisp/textmodes/enriched.el')
0 files changed, 0 insertions, 0 deletions