From c7bc245ef5643b7803523c8dc50533ee2eb5c12c Mon Sep 17 00:00:00 2001 From: Bernt Hansen Date: Wed, 24 Feb 2010 07:36:41 -0500 Subject: [PATCH] Reveal after goto Occasionally when jumping to the last task we end up inside a folded region. This just reveals the headline to make editing easier. --- lisp/org-clock.el | 1 + 1 file changed, 1 insertion(+) diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 1dbb08e08..d8d1fe0c9 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1305,6 +1305,7 @@ With prefix arg SELECT, offer recently clocked tasks for selection." (org-back-to-heading t) (org-cycle-hide-drawers 'children) (recenter) + (org-reveal) (if recent (message "No running clock, this is the most recently clocked task")) (run-hooks 'org-clock-goto-hook))) -- 2.11.4.GIT