Fix: (org-ql-agenda) Argument handling
Fixes #5. Thanks to @natrys for reporting.
This commit is contained in:
parent
f9167ccb7a
commit
8716c9a087
1 changed files with 4 additions and 0 deletions
|
|
@ -85,6 +85,10 @@ agenda in, rather than the default."
|
|||
;; Query and keyword args, no files
|
||||
(setq query arg-pred)
|
||||
(set-keyword-args rest))
|
||||
(`(,arg-files ,arg-pred)
|
||||
;; Files and query, no keywords
|
||||
(setq files arg-files
|
||||
query arg-pred))
|
||||
(`(,arg-pred)
|
||||
;; Only query
|
||||
(setq query arg-pred)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue