projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
832bdaf
)
Fix loading image-converter in the case where the type is passed in
author
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 21 Nov 2019 13:02:00 +0000
(14:02 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Thu, 21 Nov 2019 13:02:00 +0000
(14:02 +0100)
* lisp/image.el (create-image): Load image-converter when
converting images (bug#38310).
lisp/image.el
patch
|
blob
|
history
diff --git
a/lisp/image.el
b/lisp/image.el
index e0965c10914800e7d7cf53bd5d5b0eeb332c5cab..6e19f17fd25f5e173ae30e2e3953466cdf7b4af0 100644
(file)
--- 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)))