summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Dominik <carsten.dominik@gmail.com>2013-08-30 18:14:17 +0200
committerCarsten Dominik <carsten.dominik@gmail.com>2013-08-30 18:14:53 +0200
commit4b749075f4ea7264adfdae17c03b65c647442bf1 (patch)
treee3b160af40048ffa33f583e7fb82dd80eea91fff
parentdaf36fc918e5c46013e523e5677d06f09e91ea78 (diff)
downloadorg-mode-4b749075f4ea7264adfdae17c03b65c647442bf1.tar.gz
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.
-rw-r--r--lisp/org-clock.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 656fb4c..524dbf1 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -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"))