aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <rul@kalgan.cc>2019-11-18 07:27:45 -0800
committerRaúl Benencia <rul@kalgan.cc>2019-11-18 07:27:45 -0800
commit8609220c4070a633f10796f67ff4f73563d3904e (patch)
tree8553c0f3d05574b49c907da068042e5987bea08c
parent0caf1e1260e7c7b894249912025fe2bf23db54f0 (diff)
remove logbook hook
-rw-r--r--.emacs.local.d/modes/org.el9
1 files changed, 0 insertions, 9 deletions
diff --git a/.emacs.local.d/modes/org.el b/.emacs.local.d/modes/org.el
index ff9ed9c..ed51f40 100644
--- a/.emacs.local.d/modes/org.el
+++ b/.emacs.local.d/modes/org.el
@@ -84,15 +84,6 @@
("h" "Habit" entry (file "~/src/git/org/refile.org")
"* NEXT %?\n%U\n%a\nSCHEDULED: %(format-time-string \"%<<%Y-%m-%d %a .+1d/3d>>\")\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n"))))
-;; Remove empty LOGBOOK drawers on clock out
-(defun bh/remove-empty-drawer-on-clock-out ()
- (interactive)
- (save-excursion
- (beginning-of-line 0)
- (org-remove-empty-drawer-at "LOGBOOK" (point))))
-
-(add-hook 'org-clock-out-hook 'bh/remove-empty-drawer-on-clock-out 'append)
-
(add-hook 'org-capture-mode-hook 'delete-other-windows)
(setq my-org-protocol-flag nil)
(defadvice org-capture-finalize (after delete-frame-at-end activate)
nihil fit ex nihilo