From 11550248114a455c259b2687c8bd3e724b8c04cf Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 20 Jan 2021 16:30:27 -0800 Subject: [PATCH] =?UTF-8?q?Add=20any=20project=20files=20to=20=E2=80=98org?= =?UTF-8?q?-agenda-files=E2=80=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-org/oni-org.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oni-org/oni-org.el b/oni-org/oni-org.el index 49d403b..5bf84e6 100644 --- a/oni-org/oni-org.el +++ b/oni-org/oni-org.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; Keywords: local -;; Version: 2021.0106.201747 +;; Version: 2021.0120.163357 ;; Package-Requires: (oni-yasnippet oni-alert oni-hydra org-plus-contrib org-bullets org-edna diminish all-the-icons org-journal org-roam) ;; This program is free software; you can redistribute it and/or modify @@ -338,7 +338,8 @@ also move point to the start of the heading." (,(rx string-start "question" string-end) ,(expand-file-name "icons8-question-mark-64.png" oni-org-icons-dir) ,@defaults) (,(rx string-start "music" string-end) ,(expand-file-name "icons8-musical-notes-64.png" oni-org-icons-dir) ,@defaults))))) -(setq org-agenda-files (list org-default-notes-file)) +(setq org-agenda-files (cons org-default-notes-file + (directory-files "~/documents/org/projects/" t "\\.org\\'"))) (setq org-agenda-tags-todo-honor-ignore-options t) (setq org-agenda-todo-ignore-scheduled 'future)