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)~. + Selectors ~(children)~ and ~(descendants)~.
+ Function ~org-ql-search~ and macro ~org-ql-agenda~ accept a ~:title~ argument, which is displayed in the header. + 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. + Command ~org-ql-search~ offers global ~org-super-agenda-groups~ in completion.
+ Customization group ~org-ql~.
*Changed* *Changed*
+ Function ~org-ql-query~ renamed to ~org-ql-select~. ~org-ql-query~ now refers to a new function. + 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 (defface org-ql-agenda-due-date
'((t (:slant italic :weight bold))) '((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 ;;;; Variables

View file

@ -95,6 +95,13 @@ hash table, keyed by arguments passed to
"Plist of predicates, their corresponding functions, and their docstrings. "Plist of predicates, their corresponding functions, and their docstrings.
This list should not contain any duplicates.") 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 ;;;; Macros
(cl-defmacro org-ql--defpred (name args docstring &rest body) (cl-defmacro org-ql--defpred (name args docstring &rest body)