diff options
author | Griffin Smith <grfn@gws.fyi> | 2020-07-06T22·53-0400 |
---|---|---|
committer | glittershark <grfn@gws.fyi> | 2020-07-06T22·55+0000 |
commit | 90f23b8de135074e035a1076fd1aa67a119575f9 (patch) | |
tree | 9b620f4c55d2d4beaabb22c23243e7feb8941f59 /users | |
parent | 0dfea784248b1a1d88f7b05722b65f798041fcbe (diff) |
fix(gs/emacs): Add org files to agenda recursively r/1233
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 <grfn@gws.fyi>
Diffstat (limited to 'users')
-rw-r--r-- | users/glittershark/emacs.d/org-config.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/users/glittershark/emacs.d/org-config.el b/users/glittershark/emacs.d/org-config.el index d766945ac039..295a8d4efcb1 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 |