Variable: org-todo-repeat-to-state
org-todo-repeat-to-state is a customizable variable defined in
org.el.gz.
Value
nil
Documentation
The TODO state to which a repeater should return the repeating task.
By default this is the first task of a TODO sequence or the previous state of a TYPE_TODO set. But you can specify to use the previous state in a TODO sequence or a string.
Alternatively, you can set the :REPEAT_TO_STATE: property of the entry, which has precedence over this option.
This variable was added, or its default value changed, in Emacs 24.1.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org.el.gz
(defcustom org-todo-repeat-to-state nil
"The TODO state to which a repeater should return the repeating task.
By default this is the first task of a TODO sequence or the
previous state of a TYPE_TODO set. But you can specify to use
the previous state in a TODO sequence or a string.
Alternatively, you can set the :REPEAT_TO_STATE: property of the
entry, which has precedence over this option."
:group 'org-todo
:version "24.1"
:type '(choice (const :tag "Use the previous TODO state" t)
(const :tag "Use the head of the TODO sequence" nil)
(string :tag "Use a specific TODO state")))