emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Org Mode <emacs-orgmode@gnu.org>
Cc: Nicolas Goaziou <n.goaziou@gmail.com>,
	Eric Schulte <eschulte@cs.unm.edu>
Subject: Detect if export is running
Date: Sun, 22 Sep 2013 14:08:27 +0200	[thread overview]
Message-ID: <ACBF21A1-1F76-46BE-B0CD-9191AFF28024@gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 356 bytes --]

Hi Eric, hi Nicolas,

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, or should I introduce a flag that is set by
`org-export-execute-babel-code'?

Thank you

- Carsten

[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 455 bytes --]

             reply	other threads:[~2013-09-22 12:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-09-22 12:08 Carsten Dominik [this message]
2013-09-22 12:22 ` Detect if export is running Nicolas Goaziou
2013-09-22 12:26   ` Carsten Dominik
2013-09-22 15:07     ` Patch: Allow installation of file-local export filters Carsten Dominik
2013-09-22 16:57     ` Detect if export is running Eric Schulte
2013-09-22 17:21       ` Carsten Dominik

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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  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=ACBF21A1-1F76-46BE-B0CD-9191AFF28024@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=eschulte@cs.unm.edu \
    --cc=n.goaziou@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).