emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] [PATCH] Reveal after goto


From: Bernt Hansen
Subject: [Orgmode] [PATCH] Reveal after goto
Date: Sun, 28 Mar 2010 22:16:42 -0400

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 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 1dbb08e..d8d1fe0 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)))
-- 
1.7.0.2.279.gf1ba1c





reply via email to

[Prev in Thread] Current Thread [Next in Thread]