Skip to content

Instantly share code, notes, and snippets.

@bjoseru
Created October 29, 2011 08:49
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 bjoseru/1324244 to your computer and use it in GitHub Desktop.
Save bjoseru/1324244 to your computer and use it in GitHub Desktop.
find a dangling clock in org-mode
(defun org-find-dangling-clock ()
"Find a dangling clock entry in an org-mode buffer"
(interactive)
(re-search-forward "CLOCK: \\[[^]]*\\] *$")
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment