Resume clock at interrupted task when available
This commit is contained in:
parent
479f9dbaf7
commit
416ba934f9
|
@ -426,6 +426,11 @@ should not be clocked."
|
|||
(let ((parent-task (db/find-parent-task)))
|
||||
(save-mark-and-excursion
|
||||
(cond
|
||||
((and (markerp org-clock-interrupted-task)
|
||||
(marker-buffer org-clock-interrupted-task))
|
||||
;; interrupted task is set
|
||||
(org-with-point-at org-clock-interrupted-task
|
||||
(org-clock-in)))
|
||||
(parent-task
|
||||
;; found parent task
|
||||
(org-with-point-at parent-task
|
||||
|
|
Loading…
Reference in New Issue
Block a user