mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
lang/org: org-clock-in-resume = t, org-clock-out-remove-zero-time-clocks = t
This commit is contained in:
@ -907,7 +907,12 @@ compelling reason, so..."
|
|||||||
(use-package! org-clock ; built-in
|
(use-package! org-clock ; built-in
|
||||||
:commands org-clock-save
|
:commands org-clock-save
|
||||||
:init
|
:init
|
||||||
(setq org-clock-persist t)
|
(setq org-clock-persist t
|
||||||
|
;; Resume when clocking into task with open clock
|
||||||
|
org-clock-in-resume t
|
||||||
|
;; Remove log if task ends up with 0:00 on the clock
|
||||||
|
org-clock-out-remove-zero-time-clocks t)
|
||||||
|
|
||||||
(defadvice! +org--clock-load-a (&rest _)
|
(defadvice! +org--clock-load-a (&rest _)
|
||||||
"Lazy load org-clock until its commands are used."
|
"Lazy load org-clock until its commands are used."
|
||||||
:before '(org-clock-in
|
:before '(org-clock-in
|
||||||
|
Reference in New Issue
Block a user