From 26aeb72e635611aa409c7770255c948103ae4b11 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Fri, 4 Jun 2021 11:52:59 -0400 Subject: [PATCH] org-clock-out-remove-zero-time-clocks = t Reverts 334c309; the original issue was reportedly fixed upstream at some point. --- modules/lang/org/config.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/lang/org/config.el b/modules/lang/org/config.el index 30ba8f6ee44..d1be2608989 100644 --- a/modules/lang/org/config.el +++ b/modules/lang/org/config.el @@ -986,7 +986,9 @@ compelling reason, so..." :config (setq org-clock-persist 'history ;; Resume when clocking into task with open clock - org-clock-in-resume t) + org-clock-in-resume t + ;; Remove log if task was clocked for 0:00 (accidental clocking) + org-clock-out-remove-zero-time-clocks t) (add-hook 'kill-emacs-hook #'org-clock-save))