1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-26 01:40:53 -08:00

Print value on malformed input

* rcirc.el (rcirc-define-command): Unquote argument
This commit is contained in:
Philip Kaludercic 2021-09-05 19:13:48 +02:00
parent 608b2ec9be
commit 008a033bbb
No known key found for this signature in database
GPG key ID: 181F5B95AE30B336

View file

@ -2470,7 +2470,7 @@ that, an interactive form can specified."
(unless (if (listp ,argument)
(<= ,required (length ,argument) ,total)
(string-match ,regexp ,argument))
(user-error "Malformed input (%s): %S" ',command ',argument))
(user-error "Malformed input (%s): %S" ',command ,argument))
(let ((process (or process (rcirc-buffer-process)))
(target (or target rcirc-target)))
(ignore target process)