[Top][All Lists]

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

feature/rcirc-update f222fe6: * rcirc.el (rcirc-define-command): Mention

From: Philip Kaludercic
Subject: feature/rcirc-update f222fe6: * rcirc.el (rcirc-define-command): Mention name of malformed command
Date: Fri, 2 Jul 2021 14:11:14 -0400 (EDT)

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

    * rcirc.el (rcirc-define-command): Mention name of malformed command
 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 1544138..4f8d961 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -2455,7 +2455,7 @@ that, an interactive form can specified."
          (unless (if (listp ,argument)
                      (not (<= ,required (length ,argument) ,total))
                    (string-match ,regexp ,argument))
-           (user-error "Malformed input: %S" ',arguments))
+           (user-error "Malformed input (%s): %S" ,command ',arguments))
          (let ((process (or process (rcirc-buffer-process)))
               (target (or target rcirc-target)))
            (ignore target process)

reply via email to

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