Skip to content

Commit

Permalink
remove sanityinc/remove-empty-drawer-on-clock-out
Browse files Browse the repository at this point in the history
  • Loading branch information
fd3kyt committed Jan 1, 2018
1 parent 2b95e42 commit a669a55
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions lisp/init-org.el
Original file line number Diff line number Diff line change
Expand Up @@ -304,18 +304,6 @@ typical word processor."



;; Remove empty LOGBOOK drawers on clock out
(defun sanityinc/remove-empty-drawer-on-clock-out ()
(interactive)
(save-excursion
(beginning-of-line 0)
(org-remove-empty-drawer-at "LOGBOOK" (point))))

(after-load 'org-clock
(add-hook 'org-clock-out-hook 'sanityinc/remove-empty-drawer-on-clock-out 'append))



;; TODO: warn about inconsistent items, e.g. TODO inside non-PROJECT
;; TODO: nested projects!

Expand Down

0 comments on commit a669a55

Please sign in to comment.