From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: [BUG] htmlp and latexp Date: Fri, 18 Feb 2011 10:49:31 +0100 Message-ID: <87d3mpekpg.fsf@gnu.org> References: <4D5B8E60.4070307@christianmoe.com> <871v38s1gw.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from [140.186.70.92] (port=49147 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PqMxs-0008IO-Hd for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:49:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PqMxr-0003WF-6t for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:49:28 -0500 Received: from mail-bw0-f41.google.com ([209.85.214.41]:38231) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PqMxq-0003W2-Vj for emacs-orgmode@gnu.org; Fri, 18 Feb 2011 04:49:27 -0500 Received: by bwz16 with SMTP id 16so3474604bwz.0 for ; Fri, 18 Feb 2011 01:49:26 -0800 (PST) In-Reply-To: (Dan Davison's message of "Wed, 16 Feb 2011 17:11:36 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Dan Davison Cc: Org , mail@christianmoe.com Hi Dan, Dan Davison writes: > I was thinking that if it were defvard in org.el, say as > > (defvar org-export-current-backend nil) > > then any code could use (null org-export-current-backend) to test > whether org is currently exporting or not. Otherwise, the code has to be > certain that it has been called during export if it is going to access > the variable. I agree this would be a good idea. If you have time, please send a patch. Otherwise, I just put it [somewhere] in my own todo list... Thanks! -- Bastien