forked from mirrors/org-mode
org-clock: Fix clocking in
* lisp/org-clock.el (org-clock-find-position): Correctly position cursor on the correct headline. Reported-by: Jan Malakhovski <oxij@oxij.org> <http://permalink.gmane.org/gmane.emacs.orgmode/102170>
This commit is contained in:
parent
9277e63352
commit
541aa0f62d
|
@ -1457,7 +1457,7 @@ When FIND-UNCLOSED is non-nil, first check if there is an unclosed clock
|
|||
line and position cursor in that line."
|
||||
(org-back-to-heading t)
|
||||
(catch 'exit
|
||||
(let* ((beg (line-beginning-position 2))
|
||||
(let* ((beg (line-beginning-position))
|
||||
(end (save-excursion (outline-next-heading) (point)))
|
||||
(org-clock-into-drawer (org-clock-into-drawer))
|
||||
(drawer (org-clock-drawer-name)))
|
||||
|
|
Loading…
Reference in a new issue