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

Table of Contents

Previous: Code block specific header arguments, Up: Using header arguments


Header arguments in function calls

Header arguments in function calls are the most specific and override all other settings in case of an overlap. They get the highest priority. Two #+CALL: examples are shown below. For the complete syntax of #+CALL: lines, see Evaluating code blocks.

In this example, :exports results header argument is applied to the evaluation of the #+CALL: line.

     #+CALL: factorial(n=5) :exports results

In this example, :session special header argument is applied to the evaluation of factorial code block.

     #+CALL: factorial[:session special](n=5)