Readd duplicate call to org-fold-reveal

This reverts 05bb198.

Turns out this call is not that redundant after all.  Revealing should
be done after jumping to the next checkbox of the current item.
However, revealing the item at point only then leads to funny
flickering, so let's keep the old implementation for now and reveal
stuff twice.
This commit is contained in:
Daniel Borchmann 2024-11-16 09:33:42 +01:00
parent 43fa4097df
commit 3d38510284
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

@ -1681,6 +1681,7 @@ clocked-in tasks to jump to."
(org-fold-reveal)
(org-fold-hide-drawer-all)
(db/org-goto-first-open-checkbox-in-headline :silent)
(org-fold-reveal)
(if recent
(message "No running clock, this is the most recently clocked task"))
(run-hooks 'org-clock-goto-hook))