From 661a8855d375e1c6e6f1aa9d53cd65d9a0f55f95 Mon Sep 17 00:00:00 2001 From: Carsten Dominik Date: Fri, 27 Nov 2009 23:25:47 +0100 Subject: [PATCH] Revert "Fix clocking to allow again selection of a task in the history" This reverts commit c59c2b791d52cbdaacf564e49fa92cf40a60b3f7. --- lisp/ChangeLog | 3 --- lisp/org-clock.el | 9 ++------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index c2c108953..c9def2671 100755 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,8 +1,5 @@ 2009-11-27 Carsten Dominik - * org-clock.el (org-clock-in): Fix current task detection when a - task is selected from the clock history. - * org-latex.el (org-export-latex-class-options): New variable. (org-export-latex-set-initial-vars): Use the class options. diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 90a16426d..16c257712 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -854,13 +854,8 @@ the clocking selection, associated with the letter `d'." (when (save-excursion (org-back-to-heading t) (and (equal (marker-buffer org-clock-hd-marker) - (if selected-task - (marker-buffer selected-task) - (current-buffer))) - (= (marker-position org-clock-hd-marker) - (if selected-task - (marker-position selected-task) - (point))))) + (current-buffer)) + (= (marker-position org-clock-hd-marker) (point)))) (message "Clock continues in \"%s\"" org-clock-heading) (throw 'abort nil)) (move-marker org-clock-interrupted-task