From d333f8a4cc64ec4d0dd3f9046fa6b633191bf670 Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Thu, 6 Jun 2013 12:28:25 -0400 Subject: additional org refiling targets extend refiling targets beyond agenda files --- init/km-org.el | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/init/km-org.el b/init/km-org.el index 4060c5f..916609f 100644 --- a/init/km-org.el +++ b/init/km-org.el @@ -61,6 +61,12 @@ (quote regexp) "\n]+>"))) (org-agenda-overriding-header "Unscheduled TODO entries: "))))))) +(defvar km/org-additional-notes-files '("~/notes/backburner.org") + "non-agenda files that should be available for refiling") + +(defvar km/org-refiling-targets + (append km/org-additional-notes-files org-agenda-files)) + ;; other customization in prelude's org module ;; have font colors in code blocks @@ -75,8 +81,8 @@ ;; from http://doc.norang.ca/org-mode.html -(setq org-refile-targets (quote ((nil :maxlevel . 5) - (org-agenda-files :maxlevel . 5)))) +(setq org-refile-targets (quote ((nil :maxlevel . 3) + (km/org-refiling-targets :maxlevel . 2)))) ;; Stop using paths for refile targets - we file directly with IDO (setq org-refile-use-outline-path nil) -- cgit v1.2.3