ox: Fix typo in docstring

* lisp/ox.el (org-export-with-toc): Fix typo in docstring.  Slightly
  rephrase it.
This commit is contained in:
Nicolas Goaziou 2018-01-31 21:20:21 +01:00
parent 7efa0f2879
commit ddc8e8eb23
1 changed files with 12 additions and 8 deletions

View File

@ -714,12 +714,15 @@ frequently in plain text."
(defcustom org-export-with-toc t (defcustom org-export-with-toc t
"Non-nil means create a table of contents in exported files. "Non-nil means create a table of contents in exported files.
The TOC contains headlines with levels up The table of contents contains headlines with levels up to
to`org-export-headline-levels'. When an integer, include levels `org-export-headline-levels'.
up to N in the toc, this may then be different from
`org-export-headline-levels', but it will not be allowed to be When this variable is set to an integer N, include levels up to
larger than the number of headline levels. When nil, no table of N in the table of contents. Although it may then be different
contents is made. from `org-export-headline-levels', it is cannot be larger than
the number of headline levels.
When nil, no table of contents is created.
This option can also be set with the OPTIONS keyword, This option can also be set with the OPTIONS keyword,
e.g. \"toc:nil\" or \"toc:3\"." e.g. \"toc:nil\" or \"toc:3\"."
@ -728,8 +731,9 @@ e.g. \"toc:nil\" or \"toc:3\"."
(const :tag "No Table of Contents" nil) (const :tag "No Table of Contents" nil)
(const :tag "Full Table of Contents" t) (const :tag "Full Table of Contents" t)
(integer :tag "TOC to level")) (integer :tag "TOC to level"))
:safe (lambda (x) (or (booleanp x) :safe (lambda (x)
(integerp x)))) (or (booleanp x)
(integerp x))))
(defcustom org-export-with-tables t (defcustom org-export-with-tables t
"Non-nil means export tables. "Non-nil means export tables.