Hide drawers when jumping to current clock via custom function

Open drawers confuse me.
This commit is contained in:
Daniel Borchmann 2024-07-06 09:42:32 +02:00
parent 0acc0687ea
commit 7d75bae3ed
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625

View File

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