From 04563ae6705809702a1ed2ce860851b00da50801 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Sun, 4 May 2014 18:58:03 -0400 Subject: Don't use a directory name for org-agenda-files This gives a list of files that can be used for `org-refile-targets'. --- lisp/init-org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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")) -- cgit v1.2.3