From cebf2b4001015dabc74364ac2a5bf2ed64c07ab0 Mon Sep 17 00:00:00 2001 From: Jack Kamm Date: Sun, 17 Nov 2019 14:30:35 -0800 Subject: [PATCH] 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. --- lisp/org.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index f29298266..b65b7d221 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -16755,7 +16755,8 @@ boundaries." (if (and (car-safe old) refresh) (image-refresh (overlay-get (cdr old) 'display)) (let ((image (create-image file - (and (image-type-available-p 'imagemagick) 'imagemagick) + (and (image-type-available-p 'imagemagick) + width 'imagemagick) nil :width width))) (when image -- 2.24.0