emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/rcirc-update 3e31846 6/8: Fix construction of interactive specif


From: Philip Kaludercic
Subject: feature/rcirc-update 3e31846 6/8: Fix construction of interactive specification in rcirc-define-command
Date: Tue, 15 Jun 2021 12:46:42 -0400 (EDT)

branch: feature/rcirc-update
commit 3e318464680c4c24e10004155122ac7db7b9c123
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>

    Fix construction of interactive specification in rcirc-define-command
    
    * rcirc.el (rcirc-define-command): Ensure that only one argument is passed.
---
 lisp/net/rcirc.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index 86f9ff0..af054ec 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))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]