Bernt Hansen <[EMAIL PROTECTED]> writes:
> If I'm in another buffer it splits the window and displays the right
> stuff in the other buffer - I just need to close the current window.
(defun org-goto-clocked-in-entry (&optional delete-windows)
"Go to the currently clocked-in entry.
If DELETE-WINDOWS is non-nil, delete other windows. Sigh."
(interactive "P")
(if (not (marker-buffer org-clock-marker))
(error "No active clock"))
(switch-to-buffer-other-window
(marker-buffer org-clock-marker))
(if delete-windows (delete-other-windows))
(goto-char org-clock-marker)
(org-show-entry)
(org-back-to-heading))
I guess that comes closer.
--
Bastien
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode