From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jarmo Hurri Subject: Re: Babel: RESULTS for no value Date: Mon, 09 Mar 2015 12:43:38 +0200 Message-ID: <87bnk2tpr9.fsf@iki.fi> References: <87y4n9yr0a.fsf@iki.fi> <87vbicnasn.fsf@gmail.com> <87oao4zp45.fsf@iki.fi> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUvA6-0001kR-40 for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 06:43:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YUvA2-0005ea-3E for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 06:43:50 -0400 Received: from plane.gmane.org ([80.91.229.3]:39436) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YUvA1-0005eU-TP for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 06:43:46 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1YUvA0-0008GS-QG for emacs-orgmode@gnu.org; Mon, 09 Mar 2015 11:43:44 +0100 Received: from host-137-163-18-130.edu.hel.fi ([137.163.18.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Mar 2015 11:43:44 +0100 Received: from jarmo.hurri by host-137-163-18-130.edu.hel.fi with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 Mar 2015 11:43:44 +0100 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: emacs-orgmode@gnu.org Greetings Charles. "Charles C. Berry" writes: >> To achieve this behaviour, I have set >> >> (defvar org-babel-default-header-args:processing >> '((:results . "html") (:exports . "results")) >> "Default arguments when evaluating a Processing source block.") > > I think you can replace > > : (:results . "html") > > with > > : (:results . (or (and org-export-current-backend "html") "none")) > > in your defvar and get the desired result. Yes indeed, brilliant. Not being familiar with all the internals it was difficult for me to know what to check and when the test can be evaluated. Thanks! Jarmo