summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2012-08-09 16:17:05 +0200
committerBastien Guerry <bzg@altern.org>2012-08-09 16:17:05 +0200
commit0c77568f67372770020655e385505ed527e6bd69 (patch)
treed5741a877a29dcf82a5415e7f0d7f6f5cc146494
parentbc199775348a39b70640d9ef31f1c8305eeccab7 (diff)
downloadorg-mode-0c77568f67372770020655e385505ed527e6bd69.tar.gz
org-table.el (orgtbl-to-generic): Fix docstring.
* org-table.el (orgtbl-to-generic): Fix docstring.
-rw-r--r--lisp/org-table.el9
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/org-table.el b/lisp/org-table.el
index 828b2e2..d8aba8b 100644
--- a/lisp/org-table.el
+++ b/lisp/org-table.el
@@ -4484,7 +4484,7 @@ PARAMS is a property list of parameters that can influence the conversion.
For the generic converter, some parameters are obligatory: you need to
specify either :lfmt, or all of (:lstart :lend :sep).
-Valid parameters are
+Valid parameters are:
:splice When set to t, return only table body lines, don't wrap
them into :tstart and :tend. Default is nil. When :splice
@@ -4497,9 +4497,9 @@ Valid parameters are
:sep Separator between two fields
:remove-nil-lines Do not include lines that evaluate to nil.
-
Each in the following group may be either a string or a function
of no arguments returning a string:
+
:tstart String to start the table. Ignored when :splice is t.
:tend String to end the table. Ignored when :splice is t.
:lstart String to start a new table line.
@@ -4510,6 +4510,7 @@ of no arguments returning a string:
Each in the following group may be a string, a function of one
argument (the field or line) returning a string, or a plist
mapping columns to either of the above:
+
:lfmt Format for entire line, with enough %s to capture all fields.
If this is present, :lstart, :lend, and :sep are ignored.
:llfmt Format for the entire last line, defaults to :lfmt.
@@ -4517,14 +4518,14 @@ mapping columns to either of the above:
%s for the original field value. For example, to wrap
everything in dollars, you could use :fmt \"$%s$\".
This may also be a property list with column numbers and
- formats. For example :fmt (2 \"$%s$\" 4 \"%s%%\")
-
+ formats. For example :fmt (2 \"$%s$\" 4 \"%s%%\")
:hlstart :hllstart :hlend :hllend :hlsep :hlfmt :hllfmt :hfmt
Same as above, specific for the header lines in the table.
All lines before the first hline are treated as header.
If any of these is not present, the data line value is used.
This may be either a string or a function of two arguments:
+
:efmt Use this format to print numbers with exponentials.
The format should have %s twice for inserting mantissa
and exponent, for example \"%s\\\\times10^{%s}\". This