aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Benencia <id@rbenencia.name>2023-11-26 10:16:15 -0800
committerRaúl Benencia <id@rbenencia.name>2023-11-26 10:16:15 -0800
commit2d87464c6735e7b25aad1c848bc113b4d1dce924 (patch)
treee37d8702bf5128ee0f99397db977a7242c1a4c80
parenteaf069f2a0ade65cdb6e3e848e4d54aa9419ff32 (diff)
emacs: only show todos in skip-project-tasks
-rw-r--r--.config/systemd/user/emacs.service.d/override.conf5
-rw-r--r--.emacs.d/rul-lisp/packages/rul-org-agenda.el2
2 files changed, 2 insertions, 5 deletions
diff --git a/.config/systemd/user/emacs.service.d/override.conf b/.config/systemd/user/emacs.service.d/override.conf
deleted file mode 100644
index f471fa9..0000000
--- a/.config/systemd/user/emacs.service.d/override.conf
+++ /dev/null
@@ -1,5 +0,0 @@
-[Unit]
-Requires=graphical-session.target
-
-[Service]
-ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
diff --git a/.emacs.d/rul-lisp/packages/rul-org-agenda.el b/.emacs.d/rul-lisp/packages/rul-org-agenda.el
index 7b6c4b4..bfdc8d3 100644
--- a/.emacs.d/rul-lisp/packages/rul-org-agenda.el
+++ b/.emacs.d/rul-lisp/packages/rul-org-agenda.el
@@ -214,6 +214,8 @@ Skip project and sub-project tasks, habits, and project related tasks."
subtree-end)
((bh/is-project-subtree-p)
subtree-end)
+ ((not (org-entry-is-todo-p))
+ subtree-end)
(t
nil)))))
nihil fit ex nihilo