merge from trunk

This commit is contained in:
Joakim Verona 2013-09-13 09:32:39 +02:00
commit 525dcfd123
3 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,9 @@
2013-09-13 Glenn Morris <rgm@gnu.org>
* mml2015.el (gnus-create-image): Autoload it.
* gnus-spec.el (gnus-xmas-format): Fix weird error call.
* gnus-html.el (declare-function): Add compat stub for ancient Emacs.
(image-size): Declare.

View file

@ -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)))

View file

@ -866,6 +866,8 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
(setq secret-keys (cdr secret-keys))))
secret-key))
(autoload 'gnus-create-image "gnus-ems")
(defun mml2015-epg-key-image (key-id)
"Return the image of a key, if any"
(with-temp-buffer