1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2025-02-02 20:55:13 +00:00

doc: passing variables to #+call: lines

* doc/org.texi (Evaluating code blocks): More explicit about how to
  pass variables to #+call lines.
This commit is contained in:
Eric Schulte 2011-01-11 17:32:51 -07:00
parent 048f32d075
commit b092d31d68

View File

@ -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.