Brett Viren <b...@bnl.gov> writes: > Nick Dokos <ndo...@gmail.com> writes: > >> I think you'd be better off with the tip that Rick Frankel posted in >> the same thread: >> >> #+BEGIN_SRC emacs-lisp >> (add-hook 'org-babel-after-execute-hook >> (lambda () (org-display-inline-images nil t))) >> #+END_SRC > > Thanks Nick (and Rick). I changed this to use the "re" version: > > #+BEGIN_SRC emacs-lisp > (add-hook 'org-babel-after-execute-hook > (lambda () (org-redisplay-inline-images))) > #+END_SRC > > and it works great! >
It should work with the non-"re" version as well (and it is more efficient that way - particularly if you call it with refresh == t). Nick