summaryrefslogtreecommitdiffstats
path: root/emacs
diff options
context:
space:
mode:
authorGravatar Tom Willemse2013-06-29 21:19:04 +0200
committerGravatar Tom Willemse2013-06-29 21:19:04 +0200
commit8a488356b3488bac6416a0b2df16b26ff82c6f6b (patch)
treefcd51420f1e3c509fab0b31993530df58a04a9e8 /emacs
parent5d72a0905efee79acb81885b2c06c5ccc1ff86f3 (diff)
downloaddotfiles-8a488356b3488bac6416a0b2df16b26ff82c6f6b.tar.gz
dotfiles-8a488356b3488bac6416a0b2df16b26ff82c6f6b.zip
Specify my personal and work agendas for refile
Diffstat (limited to 'emacs')
-rw-r--r--emacs/site-lisp/org-init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/site-lisp/org-init.el b/emacs/site-lisp/org-init.el
index 0dd55b6..db0d292 100644
--- a/emacs/site-lisp/org-init.el
+++ b/emacs/site-lisp/org-init.el
@@ -129,7 +129,9 @@
(setq org-hide-emphasis-markers t)
(setq org-outline-path-complete-in-steps t)
(setq org-refile-allow-creating-parent-nodes t)
-(setq org-refile-targets '((nil . (:maxlevel . 6))))
+(setq org-refile-targets `((,(append oni:personal-agenda-files
+ oni:work-agenda-files)
+ . (:maxlevel . 6))))
(setq org-refile-use-outline-path 'file)
(setq org-return-follows-link t)
(setq org-src-fontify-natively t)