Add: Customization group

This commit is contained in:
Adam Porter 2019-08-16 12:14:36 -05:00
parent 62878f5d9f
commit 6aeb3030c6
3 changed files with 10 additions and 1 deletions

View file

@ -414,6 +414,7 @@ Expands into a call to ~org-ql-select~ with the same arguments. For convenience
+ Selectors ~(children)~ and ~(descendants)~.
+ Function ~org-ql-search~ and macro ~org-ql-agenda~ accept a ~:title~ argument, which is displayed in the header.
+ Command ~org-ql-search~ offers global ~org-super-agenda-groups~ in completion.
+ Customization group ~org-ql~.
*Changed*
+ Function ~org-ql-query~ renamed to ~org-ql-select~. ~org-ql-query~ now refers to a new function.

View file

@ -52,7 +52,8 @@
(defface org-ql-agenda-due-date
'((t (:slant italic :weight bold)))
"Face for due dates in `org-ql-agenda' views.")
"Face for due dates in `org-ql-agenda' views."
:group 'org-ql)
;;;; Variables

View file

@ -95,6 +95,13 @@ hash table, keyed by arguments passed to
"Plist of predicates, their corresponding functions, and their docstrings.
This list should not contain any duplicates.")
;;;; Customization
(defgroup org-ql nil
"Customization for `org-ql'."
:group 'org
:link '(url-link "https://github.com/alphapapa/org-ql"))
;;;; Macros
(cl-defmacro org-ql--defpred (name args docstring &rest body)