org.texi (Closing items): Document `org-closed-keep-when-no-todo'

* org.texi (Closing items): Document
`org-closed-keep-when-no-todo'.
This commit is contained in:
Bastien Guerry 2013-04-16 09:59:21 +02:00
parent 8546254ce5
commit 9b5f92a2d6
1 changed files with 10 additions and 6 deletions

View File

@ -4334,13 +4334,17 @@ in-buffer setting is: @code{#+STARTUP: logdone}}
(setq org-log-done 'time) (setq org-log-done 'time)
@end lisp @end lisp
@vindex org-closed-keep-when-no-todo
@noindent @noindent
Then each time you turn an entry from a TODO (not-done) state into any Then each time you turn an entry from a TODO (not-done) state into any of the
of the DONE states, a line @samp{CLOSED: [timestamp]} will be inserted DONE states, a line @samp{CLOSED: [timestamp]} will be inserted just after
just after the headline. If you turn the entry back into a TODO item the headline. If you turn the entry back into a TODO item through further
through further state cycling, that line will be removed again. If you state cycling, that line will be removed again. If you turn the entry back
want to record a note along with the timestamp, use@footnote{The to a non-TODO state (by pressing @key{C-c C-t SPC} for example), that line
corresponding in-buffer setting is: @code{#+STARTUP: lognotedone}} will also be removed, unless you set @var{org-closed-keep-when-no-todo} to
non-@code{nil}. If you want to record a note along with the timestamp,
use@footnote{The corresponding in-buffer setting is: @code{#+STARTUP:
lognotedone}.}
@lisp @lisp
(setq org-log-done 'note) (setq org-log-done 'note)