ソースを参照

* doc/org.texi: More changes to :var table (some examples were wrong)

Tom Dye 13 年 前
コミット
3c832c9e81
1 ファイル変更9 行追加8 行削除
  1. 9 8
      doc/org.texi

+ 9 - 8
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