Nick Dokos wrote: > 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).
As experienced by wdkmls [1], I noticed that the non-"re" version stopped working -- preferred as it was the most efficient one. OTOH, the "re" version does work as expected. Best regards, Seb [1] http://emacs.stackexchange.com/questions/3302/live-refresh-of-inline-images-with-org-display-inline-images -- Sebastien Vauban