Fix: (org-ql-agenda) Argument handling

Fixes #5.  Thanks to @natrys for reporting.
This commit is contained in:
Adam Porter 2018-08-21 09:05:52 -05:00
parent f9167ccb7a
commit 8716c9a087

View file

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