Next: , Previous: , Up: Using header arguments   [Contents][Index]


Language-specific mode properties

Language-specific mode properties

Language-specific header arguments are also read from properties header-args:<lang> where <lang> is the language identifier. For example,

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

would force separate sessions for clojure blocks in Heading and Subheading, but use the same session for all ‘R’ blocks. Blocks in Subheading inherit settings from Heading.