Merge from origin/emacs-28

044dd1e210 * rcirc.el (rcirc-define-command): Fix interactive-spec ge...
This commit is contained in:
Stefan Kangas 2021-11-15 07:00:24 +01:00
commit e7d64300aa

View 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))