summary refs log tree commit diff
path: root/emacs/custom
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2021-10-16 14:23:46 -0700
committerFranck Cuny <franck@fcuny.net>2021-10-16 14:23:46 -0700
commit9f181217d4a0ab9fd9bc6e98c32ebf05fd6a8d8d (patch)
tree7058a59e4851cbc358d17bcb0e1bb85864d970a4 /emacs/custom
parentemacs: get rid of the fringe (diff)
downloademacs.d-9f181217d4a0ab9fd9bc6e98c32ebf05fd6a8d8d.tar.gz
org: be specific about the refile targets
Diffstat (limited to 'emacs/custom')
-rw-r--r--emacs/custom/fcuny-org.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/custom/fcuny-org.el b/emacs/custom/fcuny-org.el
index ffb2793..2646a3b 100644
--- a/emacs/custom/fcuny-org.el
+++ b/emacs/custom/fcuny-org.el
@@ -68,7 +68,9 @@
 
   ;; refile
   (org-refile-use-cache nil)
-  (org-refile-targets '((org-agenda-files . (:maxlevel . 1))))
+  (org-refile-targets `((,(expand-file-name "tasks.org" org-directory) :maxlevel . 1)
+                        (,(expand-file-name "notes.org" org-directory) :maxlevel . 1)
+                        (,(expand-file-name "projects.org" org-directory) :maxlevel . 1)))
   (org-refile-use-outline-path 'file)
   (org-outline-path-complete-in-steps nil)
   (org-refile-allow-creating-parent-nodes 'confirm)