Clocking work time: faster filtering of clock entries by trusting org-scanner-tags
* lisp/org-clock.el (org-clock-get-table-data): Bind org-scanner-tags to tags-list and org-trust-scanner-tags to t while evaluating the matcher, since the matcher is always evaluated at the current entry. TINYCHANGE
This commit is contained in:
parent
768c95e18b
commit
d23ce33583
|
@ -2463,7 +2463,9 @@ TIME: The sum of all time spend in this tree, in minutes. This time
|
||||||
(org-clock-sum ts te
|
(org-clock-sum ts te
|
||||||
(unless (null matcher)
|
(unless (null matcher)
|
||||||
(lambda ()
|
(lambda ()
|
||||||
(let ((tags-list (org-get-tags-at)))
|
(let* ((tags-list (org-get-tags-at))
|
||||||
|
(org-scanner-tags tags-list)
|
||||||
|
(org-trust-scanner-tags t))
|
||||||
(eval matcher)))))
|
(eval matcher)))))
|
||||||
(goto-char (point-min))
|
(goto-char (point-min))
|
||||||
(setq st t)
|
(setq st t)
|
||||||
|
|
Loading…
Reference in New Issue