Jump to headline of the currently clocked item when going there
Before this change, we went to the position of the open clock, which is not where we want to be in case no open checklist item is found.
This commit is contained in:
parent
0b315f44a3
commit
58e5cd3506
|
@ -1300,7 +1300,7 @@ clocked-in tasks to jump to."
|
|||
(select
|
||||
(or (org-clock-select-task "Select task to go to: ")
|
||||
(user-error "No task selected")))
|
||||
((org-clocking-p) org-clock-marker)
|
||||
((org-clocking-p) org-clock-hd-marker)
|
||||
((and org-clock-goto-may-find-recent-task
|
||||
(car org-clock-history)
|
||||
(marker-buffer (car org-clock-history)))
|
||||
|
|
Loading…
Reference in New Issue