Commit 311273ab authored by Glenn Morris's avatar Glenn Morris
Browse files

* lisp/gnus/gnus-spec.el (gnus-xmas-format): Fix weird error call.

parent 96fd6ea2
2013-09-13 Glenn Morris <rgm@gnu.org>
* gnus-spec.el (gnus-xmas-format): Fix weird error call.
* gnus-html.el (declare-function): Add compat stub for ancient Emacs.
(image-size): Declare.
......
......@@ -512,7 +512,8 @@ are supported for %s."
(delete-char -1))
(t
(if (null args)
(error 'wrong-number-of-arguments #'my-format n fstring))
(signal 'wrong-number-of-arguments
(list #'gnus-xmas-format n fstring)))
(let* ((minlen (string-to-number (or (match-string 2) "")))
(arg (car args))
(str (if (stringp arg) arg (format "%s" arg)))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment