From: Philip Kaludercic Date: Fri, 2 Jul 2021 18:11:08 +0000 (+0200) Subject: * rcirc.el (rcirc-define-command): Mention name of malformed command X-Git-Tag: emacs-28.0.90~1748^2~2 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f222fe6163c63966c9f0128dd5ea6b06ff428628;p=emacs.git * rcirc.el (rcirc-define-command): Mention name of malformed command Author: --- diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index 154413871c7..4f8d9612c6a 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)