Explorar o código

Magnus Henoch writes:

>  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.
Carsten Dominik %!s(int64=16) %!d(string=hai) anos
pai
achega
7c3aba2d3a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lisp/org-clock.el

+ 1 - 1
lisp/org-clock.el

@@ -781,7 +781,7 @@ If there is no running clock, throw an error, unless FAIL-QUIETLY is set."
 (defun org-clock-goto (&optional select)
 (defun org-clock-goto (&optional select)
   "Go to the currently clocked-in entry, or to the most recently clocked one.
   "Go to the currently clocked-in entry, or to the most recently clocked one.
 With prefix arg SELECT, offer recently clocked tasks for selection."
 With prefix arg SELECT, offer recently clocked tasks for selection."
-  (interactive "P")
+  (interactive "@P")
   (let* ((recent nil)
   (let* ((recent nil)
 	 (m (cond
 	 (m (cond
 	     (select
 	     (select