diff options
author | Jose Robins <jose.robins@gmail.com> | 2018-02-01 15:02:10 -0800 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2018-02-04 23:32:59 +0100 |
commit | e6f891e7aad5f3aae4ca90ace897060b499600f5 (patch) | |
tree | e06e37927a8b9c563a6cc14ed131d84318854cf6 | |
parent | 248bc9631b17c6b56a44dc0aedc50bc31607e27f (diff) | |
download | org-mode-e6f891e7aad5f3aae4ca90ace897060b499600f5.tar.gz |
org-clock.el: Add an autoload entry for the function org-clock-sum-today
* lisp/org-clock.el: When the org-mode is called for the very first time
any functionality that requires the org-clock-sum-today used to fail.
(e.g. a column that calculates CLOCKSUM_T)
TINYCHANGE
-rw-r--r-- | lisp/org-clock.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-clock.el b/lisp/org-clock.el index 9e82db7..93e1009 100644 --- a/lisp/org-clock.el +++ b/lisp/org-clock.el @@ -1756,6 +1756,7 @@ With prefix arg SELECT, offer recently clocked tasks for selection." (defvar-local org-clock-file-total-minutes nil "Holds the file total time in minutes, after a call to `org-clock-sum'.") +;;;###autoload (defun org-clock-sum-today (&optional headline-filter) "Sum the times for each subtree for today." (let ((range (org-clock-special-range 'today))) |