From c297b828bb716885f92d3117c2abbb1ff21dbb08 Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Thu, 18 May 2023 23:47:27 -0700 Subject: [PATCH] Fix custom type of erc-autojoin-channels-alist * lisp/erc/erc-join.el (erc-autojoin-channels-alist): In ERC 5.4, the type of this option changed to accept symbols signifying IRC network names. However, the option's definition was not updated to reflect that. See commit 9bb8d90cddf "Allow irc network symbols in erc-autojoin-channels-alist". --- lisp/erc/erc-join.el | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lisp/erc/erc-join.el b/lisp/erc/erc-join.el index 17104da1a8b..45cfd565f89 100644 --- a/lisp/erc/erc-join.el +++ b/lisp/erc/erc-join.el @@ -78,10 +78,11 @@ keeps track of what channels you are on, and will join them again when you get disconnected. When you restart Emacs, however, those changes are lost, and the customization you saved the last time is used again." - :type '(repeat (cons :tag "Server" - (regexp :tag "Name") - (repeat :tag "Channels" - (string :tag "Name"))))) + :type '(alist :options (Libera.Chat) + :key-type (choice :tag "Server" + (symbol :tag "Network") + (regexp :tag "Host or domain")) + :value-type (repeat :tag "Channels" (string :tag "Name")))) (defcustom erc-autojoin-timing 'connect "When ERC should attempt to autojoin a channel. -- 2.39.2