Greetings Charles.

"Charles C. Berry" <ccbe...@ucsd.edu> 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


Reply via email to