From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Detect if export is running Date: Sun, 22 Sep 2013 14:08:27 +0200 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 6.5 \(1508\)) Content-Type: multipart/signed; boundary="Apple-Mail=_8CC0AE97-F7EE-4E55-BF5D-97D2702FECA2"; protocol="application/pgp-signature"; micalg=pgp-sha1 Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52158) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNiSu-0007B4-6h for emacs-orgmode@gnu.org; Sun, 22 Sep 2013 08:08:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VNiSl-00071T-Oi for emacs-orgmode@gnu.org; Sun, 22 Sep 2013 08:08:40 -0400 Received: from mail-ee0-x232.google.com ([2a00:1450:4013:c00::232]:44197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VNiSl-00071E-Ge for emacs-orgmode@gnu.org; Sun, 22 Sep 2013 08:08:31 -0400 Received: by mail-ee0-f50.google.com with SMTP id d51so1161706eek.37 for ; Sun, 22 Sep 2013 05:08:30 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Cc: Nicolas Goaziou , Eric Schulte --Apple-Mail=_8CC0AE97-F7EE-4E55-BF5D-97D2702FECA2 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii 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 --Apple-Mail=_8CC0AE97-F7EE-4E55-BF5D-97D2702FECA2 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJSPt28AAoJEO+gg/nAZuwMhzYIAIwcE5JiQxeJbBIOYMYdXngj 4D7zTfytQnTSJb8MYNIKVnNLsPnN6Jm9oJ6Uoqull/6tG5YRdMMuiVwbtaFaXY+T r9asODAX5uYrtpAKoN9638nRMHSxmYaSsyifLPSlhmG5DNbYjpYe3v86V2Ld18Tx lueY1TQVepjUQulOtUflq0MHJUFCMisx44GFE9R/ifv4uzbdGvNwz7YrEskJYK7X sMdHOZApmW4lnQDjra+Uo64+JuqKwmZEGYYV6sXW0M/pv65s1WFPpdjALC1a4dSw V1/BC7uvj9auYvzV3GPwlodREmmPpqAzFs8+KbqtNS+wIoxzcLMCrRJ6W0xwHvI= =qqNF -----END PGP SIGNATURE----- --Apple-Mail=_8CC0AE97-F7EE-4E55-BF5D-97D2702FECA2--