From 4a13c2af9b98176f2e51061c525313e8af1a0231 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 21 Nov 2019 14:02:00 +0100 Subject: [PATCH] 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). --- lisp/image.el | 1 + 1 file changed, 1 insertion(+) 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))) -- 2.39.5