From: Don Armstrong Date: Sun, 21 Feb 2016 02:58:15 +0000 (-0800) Subject: reload images after execution X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=5e9f53cc609ff3458f0a7fed2ac8929041c32d7e;hp=9b0f0049bd11961b5de8210b50a6ee3d81943c77;p=lib.git reload images after execution --- 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