org-clock.el: Set clock markers to nil on clock out/cancel
commit00a227c0d2b2ad17777753ed4c46b1f6657a5bab
authorBastien Guerry <bzg@altern.org>
Wed, 3 Apr 2013 13:20:58 +0000 (3 15:20 +0200)
committerBastien Guerry <bzg@altern.org>
Wed, 3 Apr 2013 16:28:29 +0000 (3 18:28 +0200)
tree292cb5985600ad944be004b24d7fba1fb4b17fc7
parent81d354b6c3caf36228015291717a6b72be3e7c4f
org-clock.el: Set clock markers to nil on clock out/cancel

* org-clock.el (org-resolve-clocks-if-idle): Only try to
resolve last clock if the clock buffer still exists.
(org-clock-out, org-clock-cancel): Set markers to nil.

Thanks to John Wiegley for reporting this bug.
lisp/org-clock.el