Comment: Add headings
This commit is contained in:
parent
689a197066
commit
e9d5bca842
1 changed files with 5 additions and 0 deletions
|
|
@ -784,10 +784,13 @@ replace the clause with a preamble."
|
|||
;; Always check contents with predicate.
|
||||
element)
|
||||
|
||||
;; Scheduled.
|
||||
(`(scheduled . ,_)
|
||||
(setq org-ql-preamble org-scheduled-time-regexp)
|
||||
;; Return element, because the predicate still needs testing.
|
||||
element)
|
||||
|
||||
;; Tags.
|
||||
(`((or 'tags-local 'local-tags 'tags-l 'ltags) . ,tags)
|
||||
;; When searching for local, non-inherited tags, we can
|
||||
;; search directly to headings containing one of the tags.
|
||||
|
|
@ -796,6 +799,8 @@ replace the clause with a preamble."
|
|||
t))
|
||||
;; Return nil, because we don't need to test the predicate.
|
||||
nil)
|
||||
|
||||
;; Timestamps.
|
||||
(`(ts . ,rest)
|
||||
(setq org-ql-preamble (pcase (plist-get rest :type)
|
||||
((or 'nil 'both) org-tsr-regexp-both)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue