From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aaron Ecay Subject: Re: org-babel-execute: being exported Date: Mon, 02 Mar 2015 12:25:29 +0000 Message-ID: <871tl7oabq.fsf@gmail.com> References: <87vbijykjc.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33906) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSPPl-0005QC-Cy for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 07:25:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSPPg-0006ZE-TI for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 07:25:37 -0500 Received: from mail-wg0-x22a.google.com ([2a00:1450:400c:c00::22a]:47045) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSPPg-0006ZA-NB for emacs-orgmode@gnu.org; Mon, 02 Mar 2015 07:25:32 -0500 Received: by wggy19 with SMTP id y19so32972544wgg.13 for ; Mon, 02 Mar 2015 04:25:32 -0800 (PST) In-Reply-To: <87vbijykjc.fsf@iki.fi> 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: Jarmo Hurri , emacs-orgmode@gnu.org Hi Jarmo, 2015ko martxoak 2an, Jarmo Hurri-ek idatzi zuen: [...] > 1. How can I identify, in org-babel-execute:processing, if the code is > executed for export or for some other reason? I think the test (not (null org-babel-exp-reference-buffer)) should thee you when you=E2=80=99re being called as part of export. --=20 Aaron Ecay