From 58e5cd350694cdd674e870dafe34a30214758613 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Tue, 16 May 2023 18:25:00 +0200 Subject: [PATCH] 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. --- site-lisp/db-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site-lisp/db-org.el b/site-lisp/db-org.el index 0953b53..c25ed47 100644 --- a/site-lisp/db-org.el +++ b/site-lisp/db-org.el @@ -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)))