[emacs] Reload org inline images on babel execute

This commit is contained in:
Correl Roush 2015-07-01 09:14:08 -04:00
parent b59916ff1a
commit d59949647b

View file

@ -459,6 +459,17 @@ languages. Setting ~Confirm Evaluation~ to ~No~ disables the
(use-package ob-http (use-package ob-http
:ensure t) :ensure t)
#+end_src #+end_src
***** Reload images on source execution
#+name: packages
#+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
*** LaTeX *** LaTeX
**** AUCTeX **** AUCTeX
#+name: packages #+name: packages