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:
Daniel - 2023-05-16 18:25:00 +02:00
parent 0b315f44a3
commit 58e5cd3506
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 1 additions and 1 deletions

View File

@ -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)))