+2013-06-06 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * gnus-ems.el (gnus-image-type-available-p): Test `display-images-p'
+ before `image-type-available-p' to avoid loading the image libraries
+ needlessly.
+
2013-06-04 Katsumi Yamaoka <yamaoka@jpl.org>
* gnus-art.el (article-date-ut, article-update-date-lapsed): Don't
(defun gnus-image-type-available-p (type)
(and (fboundp 'image-type-available-p)
- (image-type-available-p type)
(if (fboundp 'display-images-p)
(display-images-p)
- t)))
+ t)
+ (image-type-available-p type)))
(defun gnus-create-image (file &optional type data-p &rest props)
(let ((face (plist-get props :face)))