Re: [Orgmode] [PATCH 1/2] Allow org-clock-in-switch-to-state to be a function.

2008-10-16 Thread Carsten Dominik
Applied, thanks. - Carsten On Oct 16, 2008, at 4:51 PM, James TD Smith wrote: Allow org-clock-in-switch-to-state to be a function. This lets you have different clocked in states for different TODO keyword sets, for example (defun ahkt-clock-state (state) (cond ((string= state "TOREAD") "

[Orgmode] [PATCH 1/2] Allow org-clock-in-switch-to-state to be a function.

2008-10-16 Thread James TD Smith
Allow org-clock-in-switch-to-state to be a function. This lets you have different clocked in states for different TODO keyword sets, for example (defun ahkt-clock-state (state) (cond ((string= state "TOREAD") "READING") ((string= state "TOWATCH") "WATCHING") (t state))) Also fix