`org-clock-report': use :scope sutree when inserting from within a subtree.
commit8d0c034047c618042b4dd61d7df2c572f38b9b0b
authorBastien Guerry <bzg@altern.org>
Thu, 17 Mar 2011 15:52:23 +0000 (17 15:52 +0000)
committerBastien Guerry <bzg@altern.org>
Wed, 23 Mar 2011 14:11:59 +0000 (23 15:11 +0100)
tree0e2a1583cab85a7ef2ffa6d2ce21a79b42baa145
parentc4dbff58bee7966a3ff8748a05ac0528e017f908
`org-clock-report': use :scope sutree when inserting from within a subtree.

* org-clock.el (org-clock-report): change the scope of the
inserted clock report depending on whether the point is within
a subtree (:scope subtree) or not (:scope file).
lisp/org-clock.el