aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/image.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/image.el b/lisp/image.el
index 77f8ffe02c2..7e42c26dd69 100644
--- a/lisp/image.el
+++ b/lisp/image.el
@@ -348,7 +348,7 @@ non-nil value. If that value is non-nil, but not t, then the image type
348must be available." 348must be available."
349 (let* ((type (image-type-from-buffer)) 349 (let* ((type (image-type-from-buffer))
350 (auto (and type (cdr (assq type image-type-auto-detectable))))) 350 (auto (and type (cdr (assq type image-type-auto-detectable)))))
351 (and type auto 351 (and auto
352 (or (eq auto t) (image-type-available-p type))))) 352 (or (eq auto t) (image-type-available-p type)))))
353 353
354 354