[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Detect if export is running
From: |
Nicolas Goaziou |
Subject: |
Re: [O] Detect if export is running |
Date: |
Sun, 22 Sep 2013 14:22:37 +0200 |
Hello,
Carsten Dominik <address@hidden> writes:
> I am trying to write a function that will only run if it is called
> during the evaluation of babel code during export, so basically during
> `org-export-execute-babel code'. Do you know if there is a way to
> detect that this is the case,
There isn't.
> or should I introduce a flag that is set by
> `org-export-execute-babel-code'?
This may be dangerous. Introducing such a flag means that Babel results
may be different when exporting and when evaluating a block.
Regards,
--
Nicolas Goaziou