summaryrefslogtreecommitdiff
path: root/lisp/gnus/mml2015.el
diff options
context:
space:
mode:
authorDaiki Ueno <ueno@gnu.org>2013-07-02 02:34:12 +0000
committerKatsumi Yamaoka <yamaoka@jpl.org>2013-07-02 02:34:12 +0000
commitbb70a65f1de65b5abf87c0b43d03e55ed6e579f6 (patch)
tree3621ab051c57b6b640c6105f0d04c74bec5ce28e /lisp/gnus/mml2015.el
parent5583dcb6c889512e891dc9c6e76acf3654eb4ebc (diff)
downloademacs-bb70a65f1de65b5abf87c0b43d03e55ed6e579f6.tar.gz
lisp/gnus/mml2015.el: make key image extraction robuster
Diffstat (limited to 'lisp/gnus/mml2015.el')
-rw-r--r--lisp/gnus/mml2015.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/gnus/mml2015.el b/lisp/gnus/mml2015.el
index 389b522aec8..2c2187a5f8d 100644
--- a/lisp/gnus/mml2015.el
+++ b/lisp/gnus/mml2015.el
@@ -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")