Fix bug in org-narrow-to-subtree, which could lead to clock errors
commit70879027889c025cb77264b983a1d8af41d0ed07
authorCarsten Dominik <carsten.dominik@gmail.com>
Wed, 8 Jul 2009 12:29:18 +0000 (8 14:29 +0200)
committerCarsten Dominik <carsten.dominik@gmail.com>
Wed, 8 Jul 2009 12:29:18 +0000 (8 14:29 +0200)
treea4171ae5207dac81484e2dfc50c617939cbc0c03
parent60d0e73b00ff4bd4cc170b5ab56f95798e949622
Fix bug in org-narrow-to-subtree, which could lead to clock errors

Bernt Hansen writes:

> I have a monthly repeated task (Archive tasks) that has lots of
> old clock time on it currently but has never been marked DONE
> since the creation of the property LAST_REPEAT_TIME.  If this
> task is clocking when Emacs exits and you restart emacs and
> answer Yes to continue the clock - the modeline has the total
> time for the parent task (151:04 instead of the total time for
> this task (5:04).  If I clock the task in again the modeline is
> correct.
lisp/ChangeLog
lisp/org-clock.el
lisp/org.el