summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Schulte <schulte.eric@gmail.com>2011-01-11 17:32:51 -0700
committerEric Schulte <schulte.eric@gmail.com>2011-01-11 17:32:51 -0700
commitb092d31d68add1b599813fb3cfef7524c41280a7 (patch)
tree3c233a42428097fe585288e6974b58dd6490fca8
parent048f32d075c88459b22e59cb36cdc15b77016710 (diff)
downloadorg-mode-b092d31d68add1b599813fb3cfef7524c41280a7.tar.gz
doc: passing variables to #+call: lines
* doc/org.texi (Evaluating code blocks): More explicit about how to pass variables to #+call lines.
-rw-r--r--doc/org.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/org.texi b/doc/org.texi
index e7bf078..409f94f 100644
--- a/doc/org.texi
+++ b/doc/org.texi
@@ -11376,6 +11376,18 @@ blocks located in the current Org-mode buffer or in the ``Library of Babel''
#+lob: <name>(<arguments>) <header arguments>
@end example
+All variable (@code{:var}) header arguments can be placed in the
+@code{<arguments>} section using normal function call syntax. For example:
+
+@example
+#+source: double
+#+begin_src emacs-lisp :var n=2
+ (* n 2)
+#+end_src
+
+#+call: double(n=3)
+@end example
+
@table @code
@item <name>
The name of the code block to be evaluated.