summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJack Kamm <jackkamm@gmail.com>2019-11-17 14:30:35 -0800
committerMarco Wahl <marcowahlsoft@gmail.com>2019-11-18 22:46:57 +0100
commite69a85f4e121f6b09850caf0b30926e0437532e1 (patch)
tree4f05efa447f6390202de9880db28d512e422efe4
parent044e9718c18be7c1faab6dcf0c8b1cea1761530e (diff)
downloadorg-mode-e69a85f4e121f6b09850caf0b30926e0437532e1.tar.gz
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
-rw-r--r--lisp/org.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org.el b/lisp/org.el
index dcca043..a9c0d8e 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