From cdf369b0129eb196684dad5d290c076392997770 Mon Sep 17 00:00:00 2001 From: Mauro Aranda Date: Tue, 10 Oct 2023 20:22:06 -0300 Subject: [PATCH] Fix erc-server-prevent-duplicates :type * lisp/erc/erc-backend.el (erc-server-prevent-duplicates): Change :type to allow a variable-length list of strings. (Bug#66456) --- lisp/erc/erc-backend.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/erc/erc-backend.el b/lisp/erc/erc-backend.el index fb10ee31c78..2fb140f57ce 100644 --- a/lisp/erc/erc-backend.el +++ b/lisp/erc/erc-backend.el @@ -511,7 +511,7 @@ It should take same arguments as `open-network-stream' does." "Either nil or a list of strings. Each string is a IRC message type, like PRIVMSG or NOTICE. All Message types in that list of subjected to duplicate prevention." - :type '(choice (const nil) (list string))) + :type '(repeat string)) (defcustom erc-server-duplicate-timeout 60 "The time allowed in seconds between duplicate messages. -- 2.39.2