diff options
author | Kyle Meyer <kyle@kyleam.com> | 2015-01-14 23:02:30 -0500 |
---|---|---|
committer | Kyle Meyer <kyle@kyleam.com> | 2015-01-14 23:02:30 -0500 |
commit | c83039177fc658251fcf5c3915844f930914b7b8 (patch) | |
tree | f7a826eafa28a8284adcf9a155bf4c90412f558f | |
parent | 4529031ffa015bb5724315f02393cc113df0c419 (diff) | |
download | emacs.d-c83039177fc658251fcf5c3915844f930914b7b8.tar.gz |
Add variable for agenda refile targets
-rw-r--r-- | lisp/init-org.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el index a2e1d72..beda4a1 100644 --- a/lisp/init-org.el +++ b/lisp/init-org.el @@ -404,11 +404,13 @@ displayed in the agenda." (setq org-refile-targets '((nil :maxlevel . 2)) org-refile-cache nil) +(defvar km/org-agenda-refile-targets + '((nil :maxlevel . 3) + (org-agenda-files :maxlevel . 2) + (org-agenda-text-search-extra-files :maxlevel . 2))) + (add-to-list 'safe-local-variable-values - '(org-refile-targets - (nil :maxlevel . 3) - (org-agenda-files :maxlevel . 2) - (org-agenda-text-search-extra-files :maxlevel . 2))) + (cons 'org-refile-targets km/org-agenda-refile-targets)) (setq org-refile-target-verify-function 'km/verify-refile-target) |