Fix clocking on capture completion
commit95212c22024e81fc32d2f4d76d5901b85e952826
authorBernt Hansen <bernt@norang.ca>
Sat, 24 Jul 2010 19:20:17 +0000 (24 19:20 +0000)
committerJohn Wiegley <johnw@newartisans.com>
Wed, 28 Jul 2010 06:35:38 +0000 (28 02:35 -0400)
tree39ecf15444009ea84e6392757586af188cd8b06c
parentf47a27ae407fc17a19ccebfb5caa334f66daac8c
Fix clocking on capture completion

* lisp/org-capture.el (org-capture-finalize): Fix clock in of interrupted
task during capture finalize

Calling org-capture-get inside the org-with-point-at macro does not
work when the current clocking task and the capture target buffer are
the same.  In this case the captured task would continue clocking
instead of switching back to the previously clocking task.
lisp/org-capture.el