diff options
author | Kyle Meyer <kyle@kyleam.com> | 2018-12-09 16:26:22 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2018-12-09 16:26:22 -0500 |
commit | 2583d4f206222f385949a676498d9b6296c261ab (patch) | |
tree | ff481f43618c3605979b72e31453ca3881770fa9 /init.el | |
parent | c321eac9eec299952c14b85969d67520806d020d (diff) | |
download | emacs.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.el | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |