summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2018-12-09 16:26:22 -0500
committerKyle Meyer <kyle@kyleam.com>2018-12-09 16:26:22 -0500
commit2583d4f206222f385949a676498d9b6296c261ab (patch)
treeff481f43618c3605979b72e31453ca3881770fa9 /init.el
parentc321eac9eec299952c14b85969d67520806d020d (diff)
downloademacs.d-2583d4f206222f385949a676498d9b6296c261ab.tar.gz
agenda: Restructure notes directory
Set org-agenda-files to a file with a list of agenda files rather than setting org-agenda-files to a directory with symlinked org files.
Diffstat (limited to 'init.el')
-rw-r--r--init.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/init.el b/init.el
index ff8da8e..742131c 100644
--- a/init.el
+++ b/init.el
@@ -138,7 +138,7 @@
org-goto-interface 'outline-path-completionp
org-goto-max-level 3)
- (setq org-default-notes-file "~/notes/agenda/tasks.org")
+ (setq org-default-notes-file "~/notes/tasks.org")
(setq org-agenda-text-search-extra-files
(file-expand-wildcards "~/notes/extra/*.org"))
@@ -385,8 +385,8 @@
#'km/org-agenda-set-restriction-lock))
:config
- (setq km/org-agenda-file-directory "~/notes/agenda/"
- org-agenda-files (list km/org-agenda-file-directory))
+ (setq org-directory "~/notes/")
+ (setq org-agenda-files "~/notes/agenda-files")
(add-hook 'org-agenda-finalize-hook #'km/org-agenda-cd-and-read-dir-locals)
(add-hook 'org-agenda-finalize-hook #'km/org-agenda-store-current-span)