diff options
author | Thomas Dye <dk@poto.local> | 2011-11-17 20:34:21 -1000 |
---|---|---|
committer | Eric Schulte <schulte.eric@gmail.com> | 2011-11-20 10:08:33 -0700 |
commit | a12e99aefc57a89acf29bc99b297b8f2526e6cdd (patch) | |
tree | be7a9a47c6664989cb8b5ff0cbe3e0366ad51514 | |
parent | 1b014d1cb2b84f946a7da7c3abf51a46187f8846 (diff) | |
download | org-mode-a12e99aefc57a89acf29bc99b297b8f2526e6cdd.tar.gz |
* doc/org.texi: Documented no spaces in name=assign, another correction to :var table
-rw-r--r-- | doc/org.texi | 18 |
1 files changed, 3 insertions, 15 deletions
diff --git a/doc/org.texi b/doc/org.texi index 9581cec..c466624 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -12243,7 +12243,8 @@ Argument values can be indexed in a manner similar to arrays (see @ref{var, Indexable variable values}). The following syntax is used to pass arguments to code blocks using the -@code{:var} header argument. +@code{:var} header argument. Note that spaces around the @code{=} sign are +not permitted. @example :var name=assign @@ -12297,7 +12298,7 @@ carried through to the source code block) @item code block without arguments a code block name (from the example above), as assigned by @code{#+NAME:}, -followed by parentheses +optionally followed by parentheses @example #+BEGIN_SRC emacs-lisp :var length=table-length() @@ -12352,19 +12353,6 @@ on two lines @end example -@item results block -named results blocks, such as the results of the previous example, are passed -intact - -@example -#+BEGIN_SRC emacs-lisp :var x=read-literal-example - (concatenate 'string x " Again.") -#+END_SRC - -#+results: -: A literal example -: on two lines for you. Again. -@end example @end table @subsubheading Alternate argument syntax |