Include all files under ~/Documents/org in agenda
Was previously only including direct children
This commit is contained in:
parent
ae41e92137
commit
0cdecd48cb
12
config.org
12
config.org
@ -402,12 +402,16 @@
|
||||
addict now so I do forsee it actually surviving (this will be funny
|
||||
to read in the future if not).
|
||||
|
||||
I want to show all TODOs in files in my top-level =~/org= directory
|
||||
and any in this config itself. This is done by setting
|
||||
[[help:org-agenda-files][org-agenda-files]].
|
||||
I want to show all TODOs in =.org= files under my top-level
|
||||
=~/Documents/org= directory and any in this config itself. This is
|
||||
done by enumerating all files under =~/Documents/org= with
|
||||
[[help:directory-files-recursively][directory-files-recursively]], then setting [[help:org-agenda-files][org-agenda-files]] to this,
|
||||
along with this config's path.
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(setq org-agenda-files '("~/Documents/org" "~/.emacs.d/config.org"))
|
||||
(let ((org-docs
|
||||
(directory-files-recursively "~/Documents/org" ".+\.org$")))
|
||||
(setq org-agenda-files `("~/.emacs.d/config.org" ,@org-docs)))
|
||||
#+end_src
|
||||
|
||||
Also I find it really very annoying that the the current window
|
||||
|
Loading…
x
Reference in New Issue
Block a user