summaryrefslogtreecommitdiff
path: root/lisp/gnus/gnus-ems.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/gnus/gnus-ems.el')
-rw-r--r--lisp/gnus/gnus-ems.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/lisp/gnus/gnus-ems.el b/lisp/gnus/gnus-ems.el
index 44f84237a4b..73bcf09f360 100644
--- a/lisp/gnus/gnus-ems.el
+++ b/lisp/gnus/gnus-ems.el
@@ -211,7 +211,10 @@
(defun gnus-image-type-available-p (type)
(and (fboundp 'image-type-available-p)
- (image-type-available-p type)))
+ (image-type-available-p type)
+ (if (fboundp 'display-images-p)
+ (display-images-p)
+ t)))
(defun gnus-create-image (file &optional type data-p &rest props)
(let ((face (plist-get props :face)))