Merge: 0.4.1
This commit is contained in:
commit
5d720b9fc3
4 changed files with 84 additions and 48 deletions
10
org-ql.el
10
org-ql.el
|
|
@ -583,6 +583,16 @@ Replaces bare strings with (regexp) selectors, and appropriate
|
|||
;; "h" alias.
|
||||
`(heading ,@args))
|
||||
|
||||
;; Outline level.
|
||||
(`(level . ,args)
|
||||
;; Arguments could be given as strings (e.g. from a non-Lisp query).
|
||||
`(level ,@(--map (pcase it
|
||||
((or "<" "<=" ">" ">=" "=")
|
||||
(intern it))
|
||||
((pred stringp) (string-to-number it))
|
||||
(_ it))
|
||||
args)))
|
||||
|
||||
;; Regexps.
|
||||
(`(r . ,args)
|
||||
;; "r" alias.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue