Variable: org-export-with-tasks
org-export-with-tasks is a customizable variable defined in ox.el.gz.
Value
t
Documentation
Non-nil means include TODO items for export.
This may have the following values:
t include tasks independent of state.
todo include only tasks that are not yet done.
done include only tasks that are already done.
nil ignore all tasks.
list of keywords include tasks with these keywords.
This option can also be set with the OPTIONS keyword, e.g. "tasks:nil".
Source Code
;; Defined in /usr/src/emacs/lisp/org/ox.el.gz
(defcustom org-export-with-tasks t
"Non-nil means include TODO items for export.
This may have the following values:
t include tasks independent of state.
`todo' include only tasks that are not yet done.
`done' include only tasks that are already done.
nil ignore all tasks.
list of keywords include tasks with these keywords.
This option can also be set with the OPTIONS keyword,
e.g. \"tasks:nil\"."
:group 'org-export-general
:type '(choice
(const :tag "All tasks" t)
(const :tag "No tasks" nil)
(const :tag "Not-done tasks" todo)
(const :tag "Only done tasks" done)
(repeat :tag "Specific TODO keywords"
(string :tag "Keyword")))
:safe (lambda (x) (or (memq x '(nil t todo done))
(and (listp x)
(cl-every #'stringp x)))))