Commit bb70a65f authored by Daiki Ueno's avatar Daiki Ueno Committed by Katsumi Yamaoka
Browse files

lisp/gnus/mml2015.el: make key image extraction robuster

parent 5583dcb6
2013-07-02 Daiki Ueno <ueno@gnu.org>
* mml2015.el (mml2015-epg-key-image): Use 'gnus-create-image' instead
of 'create-image' for XEmacs compatibility; check errors when decoding
image. Reported by Uwe Brauer.
2013-06-28 Katsumi Yamaoka <yamaoka@jpl.org>
 
* gnus-art.el (gnus-article-extend-url-button): Make it work again with
......
......@@ -877,7 +877,9 @@ If set, it overrides the setting of `mml2015-sign-with-sender'."
(shell-quote-argument epg-gpg-program) key-id))))
(when (> (length data) 0)
(insert (substring data 16))
(create-image (buffer-string) nil t)))))
(condition-case nil
(gnus-create-image (buffer-string) nil t)
(error))))))
(autoload 'gnus-rescale-image "gnus-util")
......
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