Skip to content

Instantly share code, notes, and snippets.

@inlinechan
Created November 23, 2016 14:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save inlinechan/76b75e323a8df3d74f9895c54dc21868 to your computer and use it in GitHub Desktop.
Save inlinechan/76b75e323a8df3d74f9895c54dc21868 to your computer and use it in GitHub Desktop.
org-clock
(setq org-clock-in-switch-to-state
#'(lambda (state)
(when (not (string= state "STARTED"))
"STARTED")))
(setq org-clock-out-switch-to-state
#'(lambda (state)
(when (not (string= state "WAITING"))
"WAITING")))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment