summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-06-06 12:28:25 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-06-06 13:11:20 -0400
commitd333f8a4cc64ec4d0dd3f9046fa6b633191bf670 (patch)
treede0c19677d812ca5015e7d8278a91e903824ba28 /init
parent803e7d4562f1481c48c6371a3f7cf36298a28e2a (diff)
downloademacs.d-d333f8a4cc64ec4d0dd3f9046fa6b633191bf670.tar.gz
additional org refiling targets
extend refiling targets beyond agenda files
Diffstat (limited to 'init')
-rw-r--r--init/km-org.el10
1 files 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)