Created
March 2, 2016 09:11
-
-
Save omps/e8f2e8f26267f241048a to your computer and use it in GitHub Desktop.
org-capture and time clocking misbehaving
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Org-mode version 8.3.3 (8.3.3-51-g30bcff-elpa). Before the update, it was already working on my Emacs 24.4 (Linux OS, built from sources), thanks to the answer from user2053036. | |
Looks like the extra parameter is no longer needed in this version. My working init file now looks like: | |
(defun bh/remove-empty-drawer-on-clock-out () | |
(interactive) | |
(save-excursion | |
(beginning-of-line 0) | |
(org-remove-empty-drawer-at (point)))) | |
(add-hook 'org-clock-out-hook 'bh/remove-empty-drawer-on-clock-out 'append) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment