This is the official manual for the latest Org-mode release.

Table of Contents

Next: , Previous: Header arguments in Org mode properties, Up: Using header arguments

Language-specific header arguments in Org mode properties

Language-specific header arguments are also read from properties header-args:<lang> where <lang> is the name of the language targeted. As an example

     * Heading
       :header-args:clojure:    :session *clojure-1*
       :header-args:R:          :session *R*
     ** Subheading
       :header-args:clojure:    :session *clojure-2*

would independently set a default session header argument for R and clojure for calls and source blocks under subtree “Heading” and change to a different clojure setting for evaluations under subtree “Subheading”, while the R session is inherited from “Heading” and therefore unchanged.