>From 9041ff4b40e720655bddb49e8a14ef1de1dfac44 Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Mon, 2 Jan 2023 18:13:08 -0800 Subject: [PATCH 1/2] ; Fix wrong type in erc-ignore hide-list options * lisp/erc/erc.el (erc-network-hide-list, erc-channel-hide-list): Fix type in custom definition. --- lisp/erc/erc.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 6315d5aa48..ba7db15cf8 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -323,7 +323,8 @@ erc-network-hide-list \(\"OFTC\" \"JOIN\" \"QUIT\"))." :version "25.1" :group 'erc-ignore - :type 'erc-message-type) + :type '(alist :key-type string :value-type erc-message-type + :options ("Libera.Chat"))) (defcustom erc-channel-hide-list nil "A list of IRC channels to hide message types from. @@ -331,7 +332,8 @@ erc-channel-hide-list \(\"#erc\" \"NICK\")." :version "25.1" :group 'erc-ignore - :type 'erc-message-type) + :type '(alist :key-type string :value-type erc-message-type + :options ("#emacs"))) (defcustom erc-disconnected-hook nil "Run this hook with arguments (NICK IP REASON) when disconnected. -- 2.38.1