emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 4a13c2a: Fix loading image-converter in the case where the type i


From: Lars Ingebrigtsen
Subject: master 4a13c2a: Fix loading image-converter in the case where the type is passed in
Date: Thu, 21 Nov 2019 08:02:05 -0500 (EST)

branch: master
commit 4a13c2af9b98176f2e51061c525313e8af1a0231
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>

    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 e0965c1..6e19f17 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)))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]