]> git.eshelyaron.com Git - emacs.git/commitdiff
* rcirc.el (rcirc-define-command): Fix interactive-spec generation
authorPhilip Kaludercic <philipk@posteo.net>
Sun, 14 Nov 2021 18:41:31 +0000 (19:41 +0100)
committerPhilip Kaludercic <philipk@posteo.net>
Sun, 14 Nov 2021 18:41:31 +0000 (19:41 +0100)
* rcirc.el (rcirc-define-command):  Wrap interactive spec in a list call.

lisp/net/rcirc.el

index 52d74a33945c4f96cad45123d39315162b01d722..5c92c60eda27745f053feaf3aa0f21f03b02750d 100644 (file)
@@ -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))