From 5e9f53cc609ff3458f0a7fed2ac8929041c32d7e Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Sat, 20 Feb 2016 18:58:15 -0800 Subject: [PATCH 1/1] reload images after execution --- emacs_el/configuration/org-mode-configuration.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/emacs_el/configuration/org-mode-configuration.el b/emacs_el/configuration/org-mode-configuration.el index 356c99f..eb850a2 100644 --- a/emacs_el/configuration/org-mode-configuration.el +++ b/emacs_el/configuration/org-mode-configuration.el @@ -470,7 +470,14 @@ Maildir, or by Message-ID." (org-export-backend-name backend) nil) ,@body)) +(defun my/fix-inline-images () + (when org-inline-image-overlays + (org-redisplay-inline-images))) +(after-loading + 'org + (add-hook 'org-babel-after-execute-hook + 'my/fix-inline-images)) ;; ;; org latex ;; ;; stolen from http://kieranhealy.org/esk/kjhealy.html -- 2.39.2