org-clock.el: Add nullary function evaluation as a clocktable scope parameter
commit78bddaca1fc623bcf5fe7868c28ecaf4b21f3d7d
authorEduardo Bellani <ebellani@gmail.com>
Mon, 6 Mar 2017 16:57:31 +0000 (6 17:57 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 6 Mar 2017 17:00:19 +0000 (6 18:00 +0100)
tree062ae6ea1a58a9124ecd0769b5df21c54641b1cd
parente7a52eeaa49e130be2d6589c5f41d486bba9d878
org-clock.el: Add nullary function evaluation as a clocktable scope parameter

* lisp/org-clock.el (org-dblock-write:clocktable): Funcall the scope
  argument if it is a function.

* doc/org.texi: Document the feature of using a nullary function as the
  scope for the clocktable.

* testing/lisp/test-org-clock.el: Adds a test for the above
  feature.  Also, fix the number of hours of a test that seemed to be
  broken.

TINYCHANGE
doc/org.texi
etc/ORG-NEWS
lisp/org-clock.el
testing/lisp/test-org-clock.el