org: Fix images failing to display with imagemagick
See also: https://lists.gnu.org/archive/html/emacs-orgmode/2019-09/msg00111.html Despite the subject of that message thread, the issue also affects some Linux users. TINYCHANGE
This commit is contained in:
parent
044e9718c1
commit
e69a85f4e1
|
@ -16755,7 +16755,8 @@ boundaries."
|
||||||
(if (and (car-safe old) refresh)
|
(if (and (car-safe old) refresh)
|
||||||
(image-refresh (overlay-get (cdr old) 'display))
|
(image-refresh (overlay-get (cdr old) 'display))
|
||||||
(let ((image (create-image file
|
(let ((image (create-image file
|
||||||
(and (image-type-available-p 'imagemagick) 'imagemagick)
|
(and (image-type-available-p 'imagemagick)
|
||||||
|
width 'imagemagick)
|
||||||
nil
|
nil
|
||||||
:width width)))
|
:width width)))
|
||||||
(when image
|
(when image
|
||||||
|
|
Loading…
Reference in New Issue