emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: org-redisplay-inline-images and export to HTML
Date: Tue, 22 Jul 2014 11:40:18 -0400	[thread overview]
Message-ID: <8761ip5rml.fsf@alphaville.bos.redhat.com> (raw)
In-Reply-To: <ir4oawhv6m4.fsf@lycastus.phy.bnl.gov>

Brett Viren <bv@bnl.gov> writes:

> Nick Dokos <ndokos@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)))
> 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).


  reply	other threads:[~2014-07-22 15:40 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-07-21 22:12 Brett Viren
2014-07-21 23:17 ` Nick Dokos
2014-07-22 13:57   ` Brett Viren
2014-07-22 15:40     ` Nick Dokos [this message]
     [not found]       ` <8761ip5rml.fsf-/Z0n3E7Cx4sTdff2QS34phcY2uh10dtjAL8bYrjMMd8@public.gmane.org>
2015-01-22 13:34         ` Live refresh of inline images with org-display-inline-images stopped working Sebastien Vauban

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8761ip5rml.fsf@alphaville.bos.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --subject='Re: org-redisplay-inline-images and export to HTML' \


* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this inbox:


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).