mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 19:37:52 +00:00
Center currently clocked headline close to top of screen
* lisp/org-clock.el (org-clock-goto): Recenter to thrd line Patch modified from proposal by Sebastien Vauban.
This commit is contained in:
parent
daf36fc918
commit
4b749075f4
|
@ -1691,7 +1691,7 @@ With prefix arg SELECT, offer recently clocked tasks for selection."
|
|||
(org-show-entry)
|
||||
(org-back-to-heading t)
|
||||
(org-cycle-hide-drawers 'children)
|
||||
(recenter)
|
||||
(recenter 2)
|
||||
(org-reveal)
|
||||
(if recent
|
||||
(message "No running clock, this is the most recently clocked task"))
|
||||
|
|
Loading…
Reference in a new issue