|
From: | Nick Dokos |
Subject: | Re: [O] org-redisplay-inline-images and export to HTML |
Date: | Tue, 22 Jul 2014 11:40:18 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux) |
Brett Viren <address@hidden> writes: > Nick Dokos <address@hidden> 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
[Prev in Thread] | Current Thread | [Next in Thread] |