emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] org-clock-goto: switch to clicked window


From: Carsten Dominik
Subject: Re: [Orgmode] org-clock-goto: switch to clicked window
Date: Fri, 19 Jun 2009 14:04:04 +0200

Applied, thanks.

- Carsten

On Jun 19, 2009, at 1:07 PM, Magnus Henoch wrote:

I just discovered that org-clock-in displays the clocked-in task in the
mode line, so that I can click it and go back to the Org file, which I
really like.  I changed it to switch to the window in which I click,
by prepending "@" to the interactive spec of org-clock-goto.

Magnus

diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 4825c1a..14d1158 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -729,7 +729,7 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set."
(defun org-clock-goto (&optional select)
"Go to the currently clocked-in entry, or to the most recently clocked one.
With prefix arg SELECT, offer recently clocked tasks for selection."
-  (interactive "P")
+  (interactive "@P")
  (let* ((recent nil)
         (m (cond
             (select
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode





reply via email to

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