commit 8bff90a3bed64c7dbb89415da0e1a2f9240da8b4 parent 1a46d6fa8e9bbfce349acb51749d33458024358a Author: Anders Hedman <anders.hedman01@gmail.com> Date: Sun, 11 Dec 2022 21:12:50 +0100 doom: Cleaner agenda-skip-function Cleaner agenda-skip-function for Unscheduled Todos and added deadline to list Diffstat:
M | .doom.d/config.el | | | 13 | +++++++------ |
1 file changed, 7 insertions(+), 6 deletions(-)
diff --git a/.doom.d/config.el b/.doom.d/config.el @@ -125,12 +125,13 @@ (alltodo ""))) ("u" "Unscheduled Todos" ((alltodo "" - ((org-agenda-overriding-header "Unscheduled") - (org-agenda-skip-function '(or (org-agenda-skip-entry-if - 'scheduled) - (org-agenda-skip-entry-if - 'regexp ":ongoing:"))) - ))))) + ((org-agenda-overriding-header "Unscheduled") + (org-agenda-skip-function '(org-agenda-skip-entry-if + 'scheduled + 'deadline + 'regexp ":ongoing:") + ))))) + ) ) (advice-add 'org-refile :after 'org-save-all-org-buffers) )