Variable: org-clock-in-switch-to-state
org-clock-in-switch-to-state is a customizable variable defined in
org-clock.el.gz.
Value
nil
Documentation
Set task to a special todo state while clocking it.
The value should be the state to which the entry should be switched. If the value is a function, it must take one parameter (the current TODO state of the item) and return the state to switch it to.
Source Code
;; Defined in /usr/src/emacs/lisp/org/org-clock.el.gz
(defcustom org-clock-in-switch-to-state nil
"Set task to a special todo state while clocking it.
The value should be the state to which the entry should be
switched. If the value is a function, it must take one
parameter (the current TODO state of the item) and return the
state to switch it to."
:group 'org-clock
:group 'org-todo
:type '(choice
(const :tag "Don't force a state" nil)
(string :tag "State")
(symbol :tag "Function")))