From: Philip Kaludercic Date: Sun, 14 Nov 2021 18:41:31 +0000 (+0100) Subject: * rcirc.el (rcirc-define-command): Fix interactive-spec generation X-Git-Tag: emacs-28.0.90~72 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=044dd1e21028fad3cf8d976dae887503dbab6ae3;p=emacs.git * rcirc.el (rcirc-define-command): Fix interactive-spec generation * rcirc.el (rcirc-define-command): Wrap interactive spec in a list call. --- diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 52d74a33945..5c92c60eda2 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el @@ -2583,7 +2583,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) (<= ,required (length ,argument) ,total) (string-match ,regexp ,argument))