Do not show complete item when jumping to it

This should avoid “visibility jumps” when jumping to a currently clocked
in item that is already revealed.
This commit is contained in:
Daniel Borchmann 2024-11-01 18:13:03 +01:00
parent 8a3bba0afe
commit c6e359546d
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -1678,7 +1678,7 @@ clocked-in tasks to jump to."
(select-window target-window) (select-window target-window)
(if (or (< m (point-min)) (> m (point-max))) (widen)) (if (or (< m (point-min)) (> m (point-max))) (widen))
(goto-char m) (goto-char m)
(org-fold-show-entry) (org-fold-reveal)
(org-fold-hide-drawer-all) (org-fold-hide-drawer-all)
(db/org-goto-first-open-checkbox-in-headline :silent) (db/org-goto-first-open-checkbox-in-headline :silent)
(org-reveal) (org-reveal)