From: Lars Ingebrigtsen Date: Thu, 21 Nov 2019 13:02:00 +0000 (+0100) Subject: Fix loading image-converter in the case where the type is passed in X-Git-Tag: emacs-27.0.90~561^2~9 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=4a13c2af9b98176f2e51061c525313e8af1a0231;p=emacs.git Fix loading image-converter in the case where the type is passed in * lisp/image.el (create-image): Load image-converter when converting images (bug#38310). --- diff --git a/lisp/image.el b/lisp/image.el index e0965c10914..6e19f17fd25 100644 --- a/lisp/image.el +++ b/lisp/image.el @@ -480,6 +480,7 @@ Image file names that are not absolute are searched for in the ;; If we have external image conversion switched on (for exotic, ;; non-native image formats), then we convert the file. (when (eq type 'image-convert) + (require 'image-converter) (setq file-or-data (image-convert file-or-data data-format) type 'png data-p t)))