summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernt Hansen <bernt@norang.ca>2009-04-20 10:21:56 -0400
committerCarsten Dominik <carsten.dominik@gmail.com>2009-04-21 06:10:30 +0200
commita04237d4f489b249dbfa517a1dbb5aebb22d8fd8 (patch)
treed01998323e6bd69fa796a58d03511ced72c2a86d
parentb8a5f1a7fcb5e1806bad9a71048f249dbcb79e97 (diff)
downloadorg-mode-a04237d4f489b249dbfa517a1dbb5aebb22d8fd8.tar.gz
Revert "Jump to selected clock task when starting the clock"
This reverts commit 61dfa0c67fcb47351f2139160ad7f59d7e742254. This wasn't such a great idea after all. There is one case where this is really annoying - if you are in the middle of displaying an agenda view with lots of filters active and you change what you are clocking it jumps away and you lose the agenda view. This one case makes hitting a dedicated function key that runs org-clock-goto more desireable.
-rw-r--r--lisp/org-clock.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index 21f298d..0d51275 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -380,8 +380,7 @@ the clocking selection, associated with the letter `d'."
(org-clock-update-mode-line)
(setq org-clock-mode-line-timer
(run-with-timer 60 60 'org-clock-update-mode-line))
- (message "Clock started at %s" ts)))))
- (org-clock-goto nil)))
+ (message "Clock started at %s" ts)))))))
(defun org-clock-find-position (find-unclosed)
"Find the location where the next clock line should be inserted.