summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2014-05-04 18:58:03 -0400
committerKyle Meyer <kyle@kyleam.com>2014-05-04 19:01:48 -0400
commit04563ae6705809702a1ed2ce860851b00da50801 (patch)
treee2fdd767ff6c62bd8beae50dc804673ffbc1e314
parent7b8601e182082f8812ececf117e9dcf992f9cfac (diff)
downloademacs.d-04563ae6705809702a1ed2ce860851b00da50801.tar.gz
Don't use a directory name for org-agenda-files
This gives a list of files that can be used for `org-refile-targets'.
-rw-r--r--lisp/init-org.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 3923970..4c696c8 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -182,13 +182,13 @@ be restored properly."
org-agenda-sticky nil)
(setq org-default-notes-file "~/notes/agenda/tasks.org"
- org-agenda-files '("~/notes/agenda")
org-agenda-show-all-dates t
org-agenda-skip-deadline-if-done t
org-agenda-skip-scheduled-if-done t
org-agenda-start-on-weekday nil
org-reverse-note-order t)
+(setq org-agenda-files (file-expand-wildcards "~/notes/agenda/*.org"))
(setq org-agenda-text-search-extra-files
(file-expand-wildcards "~/notes/extra/*.org"))