From 3e318464680c4c24e10004155122ac7db7b9c123 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Mon, 14 Jun 2021 18:02:24 +0200 Subject: [PATCH] Fix construction of interactive specification in rcirc-define-command * rcirc.el (rcirc-define-command): Ensure that only one argument is passed. --- lisp/net/rcirc.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 86f9ff048db..af054ece772 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -2421,7 +2421,7 @@ that, an interactive form can specified." ,(concat documentation "\n\nNote: If PROCESS or TARGET are nil, the values given" "\nby `rcirc-buffer-process' and `rcirc-target' will be used.") - (interactive ,@interactive-spec) + (interactive (list ,@interactive-spec)) (unless (if (listp ,argument) (not (<= ,required (length ,argument) ,total)) (string-match ,regexp ,argument)) -- 2.39.2