* doc/org.texi: More changes to :var table (some examples were wrong)
This commit is contained in:
parent
90aa84ffc1
commit
3c832c9e81
17
doc/org.texi
17
doc/org.texi
|
@ -12259,7 +12259,7 @@ Here are examples of passing values by reference:
|
|||
@table @dfn
|
||||
|
||||
@item table
|
||||
an Org mode table named with either a @code{#+NAME:} or @code{#+TBLNAME:} line
|
||||
an Org mode table named with either a @code{#+DATA:} or @code{#+TBLNAME:} line
|
||||
@example
|
||||
#+TBLNAME: example-table
|
||||
| 1 |
|
||||
|
@ -12277,11 +12277,11 @@ an Org mode table named with either a @code{#+NAME:} or @code{#+TBLNAME:} line
|
|||
@end example
|
||||
|
||||
@item list
|
||||
a named, simple list (note that nesting is not carried through to the source
|
||||
code block)
|
||||
a simple list named with a @code{#+DATA:} line (note that nesting is not
|
||||
carried through to the source code block)
|
||||
|
||||
@example
|
||||
#+NAME: example-list
|
||||
#+DATA: example-list
|
||||
- simple
|
||||
- not
|
||||
- nested
|
||||
|
@ -12291,12 +12291,13 @@ code block)
|
|||
(print x)
|
||||
#+END_SRC
|
||||
|
||||
#+RESULTS:
|
||||
#+results:
|
||||
| simple | list |
|
||||
@end example
|
||||
|
||||
@item code block without arguments
|
||||
a code block name, as assigned by @code{#+NAME:}, followed by parentheses
|
||||
a code block name (from the example above), as assigned by @code{#+NAME:},
|
||||
followed by parentheses
|
||||
|
||||
@example
|
||||
#+BEGIN_SRC emacs-lisp :var length=table-length()
|
||||
|
@ -12331,10 +12332,10 @@ code block name using standard function call syntax
|
|||
@end example
|
||||
|
||||
@item literal example
|
||||
a named literal example block
|
||||
a literal example block named with an @code{#+DATA:} line
|
||||
|
||||
@example
|
||||
#+NAME: literal-example
|
||||
#+DATA: literal-example
|
||||
#+BEGIN_EXAMPLE
|
||||
A literal example
|
||||
on two lines
|
||||
|
|
Loading…
Reference in New Issue