From 43545482a4121fa564caaea00cbdffcddd22cfc5 Mon Sep 17 00:00:00 2001 From: Adam Porter Date: Thu, 8 Aug 2019 09:44:02 -0500 Subject: [PATCH] Docs: Add example --- README.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.org b/README.org index cc371be..946ed9c 100644 --- a/README.org +++ b/README.org @@ -52,6 +52,15 @@ More examples are available in [[examples.org]]. (and (property "genre" "classical") (property "composer" "Chopin") (not (property "key")))) + + ;; Define a custom Org Agenda command which inserts an `org-ql-block' + ;; block before the regular agenda: + (setq org-agenda-custom-commands + '(("ces" "Custom: Agenda and Emacs SOMEDAY [#A] items" + ((org-ql-block '(and (todo "SOMEDAY") + (tags "Emacs") + (priority "A"))) + (agenda))))) #+END_SRC * Usage