From 54f8b5330df5964ec153e71df42683c1bb9f5837 Mon Sep 17 00:00:00 2001 From: ndwarshuis Date: Sun, 30 Sep 2018 22:20:15 -0400 Subject: [PATCH] ensure the new filters are initialized upon load --- conf.org | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf.org b/conf.org index 4106b22..45a474c 100644 --- a/conf.org +++ b/conf.org @@ -881,6 +881,9 @@ In order to implement the =hasprop= filter the functions, =org-agenda-filter-mak As it is, this allows any filter using =hasprop= to be applied and removed using the standard =org-agenda-filter-apply= function with the =org-agenda-hasprop-filter= variable (obviously these can all be extended to different filter types). Note this does not give a shiny indicator at the bottom on spaceline like the built-in filter does...oh well. #+BEGIN_SRC emacs-lisp +;; initialize new filters +(defvar org-agenda-hasprop-filter nil) + (defun nd/org-agenda-filter-make-matcher-prop (filter type &rest args) "Return matching matcher form for FILTER and TYPE where TYPE is not