From 90f23b8de135074e035a1076fd1aa67a119575f9 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Mon, 6 Jul 2020 18:53:46 -0400 Subject: fix(gs/emacs): Add org files to agenda recursively Apparently just putting the directory in there only sees top-level files, rather than descending a directory. Change-Id: If9febb37f59754bcfe442fb413df475d83e0193f Reviewed-on: https://cl.tvl.fyi/c/depot/+/949 Tested-by: BuildkiteCI Reviewed-by: glittershark --- users/glittershark/emacs.d/org-config.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/users/glittershark/emacs.d/org-config.el b/users/glittershark/emacs.d/org-config.el index d766945ac0..295a8d4efc 100644 --- a/users/glittershark/emacs.d/org-config.el +++ b/users/glittershark/emacs.d/org-config.el @@ -9,7 +9,8 @@ +org-dir (expand-file-name "~/notes") org-default-notes-file (concat org-directory "/inbox.org") +org-default-todo-file (concat org-directory "/inbox.org") - org-agenda-files (list org-directory) + org-agenda-files (directory-files-recursively + "~/notes" "\\.org$") org-refile-targets '((org-agenda-files :maxlevel . 3)) org-outline-path-complete-in-steps nil org-refile-use-outline-path t -- cgit 1.4.1