Browse Source

Fix reverted commit 00a227

Make `org-resolve-clocks-if-idle' check for an existing marker buffer.
Bastien Guerry 12 years ago
parent
commit
bc3ccdfba2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lisp/org-clock.el

+ 1 - 1
lisp/org-clock.el

@@ -1076,7 +1076,7 @@ This is performed after `org-clock-idle-time' minutes, to check
 if the user really wants to stay clocked in after being idle for
 if the user really wants to stay clocked in after being idle for
 so long."
 so long."
   (when (and org-clock-idle-time (not org-clock-resolving-clocks)
   (when (and org-clock-idle-time (not org-clock-resolving-clocks)
-	     org-clock-marker)
+	     org-clock-marker (marker-buffer org-clock-marker))
     (let* ((org-clock-user-idle-seconds (org-user-idle-seconds))
     (let* ((org-clock-user-idle-seconds (org-user-idle-seconds))
 	   (org-clock-user-idle-start
 	   (org-clock-user-idle-start
 	    (time-subtract (current-time)
 	    (time-subtract (current-time)