Use more speaking name for skip date function in workload report
This commit is contained in:
parent
62d4f62af4
commit
d63cba9756
@ -766,7 +766,7 @@ PARAMS is a property list of the following parameters:
|
||||
(org-ql-match (or (plist-get params :org-ql-match)
|
||||
'(todo)))
|
||||
(timestamp-format "%Y-%m-%d %a %H:%M")
|
||||
(skipper (pcase (plist-get params :skip-matches)
|
||||
(skip-date-p (pcase (plist-get params :skip-matches)
|
||||
((pred null) #'(lambda (_) nil))
|
||||
((and (pred stringp) arg)
|
||||
#'(lambda (x) (string-match arg x)))
|
||||
@ -798,7 +798,7 @@ PARAMS is a property list of the following parameters:
|
||||
(format "+%s" increment)
|
||||
nil current)
|
||||
current-formatted (format-time-string timestamp-format current))
|
||||
(unless (funcall skipper current-formatted)
|
||||
(unless (funcall skip-date-p current-formatted)
|
||||
(push current-formatted date-range))))
|
||||
(setq date-range (nreverse (cdr date-range)))
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user