From: Philip Kaludercic Date: Mon, 14 Jun 2021 16:02:24 +0000 (+0200) Subject: Fix construction of interactive specification in rcirc-define-command X-Git-Tag: emacs-28.0.90~1748^2~14 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=3e318464680c4c24e10004155122ac7db7b9c123;p=emacs.git Fix construction of interactive specification in rcirc-define-command * rcirc.el (rcirc-define-command): Ensure that only one argument is passed. --- 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))