summaryrefslogtreecommitdiff
path: root/lisp/net/rcirc.el
diff options
context:
space:
mode:
authorPhilip Kaludercic <philipk@posteo.net>2021-11-14 19:41:31 +0100
committerPhilip Kaludercic <philipk@posteo.net>2021-11-14 19:41:31 +0100
commit044dd1e21028fad3cf8d976dae887503dbab6ae3 (patch)
tree9bd8e2e46376f9009a00f2f8b5dee57136511925 /lisp/net/rcirc.el
parent97059bcdffe722ab92ca39209c3a3b62144b19a1 (diff)
downloademacs-044dd1e21028fad3cf8d976dae887503dbab6ae3.tar.gz
* rcirc.el (rcirc-define-command): Fix interactive-spec generation
* rcirc.el (rcirc-define-command): Wrap interactive spec in a list call.
Diffstat (limited to 'lisp/net/rcirc.el')
-rw-r--r--lisp/net/rcirc.el2
1 files changed, 1 insertions, 1 deletions
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))