summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2014-05-31 14:32:06 +0200
committerBastien Guerry <bzg@altern.org>2014-05-31 14:32:06 +0200
commit75ca2a0e0d31aa2443bb3aba11b5851c5e6b9bdd (patch)
tree32605de4da47d5556e6852cfd2b78e71d2a4faa9
parentdd17e9d2998dd42e14835a93e467319fc05e7d5e (diff)
downloadorg-mode-75ca2a0e0d31aa2443bb3aba11b5851c5e6b9bdd.tar.gz
org-agenda.el (org-agenda-todo): Mark the clocking task
* org-agenda.el (org-agenda-todo): Mark the clocking task.
-rw-r--r--lisp/org-agenda.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/org-agenda.el b/lisp/org-agenda.el
index 9a26d31..bf8287f 100644
--- a/lisp/org-agenda.el
+++ b/lisp/org-agenda.el
@@ -8839,7 +8839,8 @@ the same tree node, and the headline of the tree node in the Org-mode file."
(string-match (concat "^" (regexp-opt org-done-keywords-for-agenda))
newhead)
(org-agenda-unmark-clocking-task))
- (org-move-to-column col))))
+ (org-move-to-column col)
+ (org-agenda-mark-clocking-task))))
(defun org-agenda-add-note (&optional arg)
"Add a time-stamped note to the entry at point."