1
0
mirror of https://git.savannah.gnu.org/git/emacs/org-mode.git synced 2024-11-26 07:33:39 +00:00

Fix reverted commit 00a227

Make `org-resolve-clocks-if-idle' check for an existing marker buffer.
This commit is contained in:
Bastien Guerry 2013-04-04 09:42:57 +02:00
parent 3b5f56f0f4
commit bc3ccdfba2

View File

@ -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
so long."
(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))
(org-clock-user-idle-start
(time-subtract (current-time)