[emacs] Reload images on source execution

This commit is contained in:
Correl Roush 2019-10-15 14:50:58 -04:00
parent e024a39597
commit c63b6875f8

View file

@ -612,6 +612,15 @@ be based on their headings.
:after ox :after ox
:commands ox-confluence-en-export-as-confluence) :commands ox-confluence-en-export-as-confluence)
#+end_src #+end_src
** Reload images on source execution
#+begin_src emacs-lisp
(defun my/redisplay-org-images ()
(when org-inline-image-overlays
(org-redisplay-inline-images)))
(add-hook 'org-babel-after-execute-hook
'my/redisplay-org-images)
#+end_src
* MU4E * MU4E
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package! mu4e (use-package! mu4e