Merge: 0.4.1

This commit is contained in:
Adam Porter 2020-02-23 23:27:06 -06:00
commit 5d720b9fc3
4 changed files with 84 additions and 48 deletions

View file

@ -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.