summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Guerry <bzg@altern.org>2013-04-24 10:47:30 +0200
committerBastien Guerry <bzg@altern.org>2013-04-24 10:47:30 +0200
commita959d2320104747f1d34e22ce9b64acde71d18ec (patch)
tree26eab6601c79fdb3052b685fdd0d88dd68bd59c8
parent8c1f16d475dfae3fd8b11f9d6edf344cd2ccfd71 (diff)
parent3dd3100794e90f7a44eb17118d1c084299868621 (diff)
downloadorg-mode-a959d2320104747f1d34e22ce9b64acde71d18ec.tar.gz
Merge branch 'maint'
-rw-r--r--lisp/org-clock.el9
1 files changed, 2 insertions, 7 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el
index d96e034..591d0d3 100644
--- a/lisp/org-clock.el
+++ b/lisp/org-clock.el
@@ -1199,13 +1199,8 @@ make this the default behavior.)"
(goto-char target-pos)
(org-back-to-heading t)
(or interrupting (move-marker org-clock-interrupted-task nil))
- (save-excursion
- (forward-char) ;; make sure the marker is not at the
- ;; beginning of the heading, since the
- ;; user is liking to insert stuff here
- ;; manually
- (run-hooks 'org-clock-in-prepare-hook)
- (org-clock-history-push))
+ (run-hooks 'org-clock-in-prepare-hook)
+ (org-clock-history-push)
(setq org-clock-current-task (nth 4 (org-heading-components)))
(cond ((functionp org-clock-in-switch-to-state)
(looking-at org-complex-heading-regexp)