1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

* gnus-art.el (article-display-face): Handle failure in gnus-create-image.

Fixes: debbugs:11802
This commit is contained in:
Chong Yidong 2012-08-14 13:34:20 +08:00
parent f48b82fd19
commit b4599732c3
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2012-08-14 Chong Yidong <cyd@gnu.org>
* gnus-art.el (article-display-face): Handle failure in
gnus-create-image (Bug#11802).
2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
* gnus-agent.el (gnus-agent-cat-defaccessor, gnus-agent-cat-groups):

View file

@ -2437,9 +2437,10 @@ long lines if and only if arg is positive."
(apply 'gnus-create-image png 'png t
(cdr (assq 'png gnus-face-properties-alist))))
(goto-char from)
(gnus-add-wash-type 'face)
(gnus-add-image 'face image)
(gnus-put-image image nil 'face))))))))))
(when image
(gnus-add-wash-type 'face)
(gnus-add-image 'face image)
(gnus-put-image image nil 'face)))))))))))
(defun article-display-x-face (&optional force)
"Look for an X-Face header and display it if present."