about summary refs log tree commit diff
path: root/users/sterni/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'users/sterni/emacs')
-rw-r--r--users/sterni/emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/users/sterni/emacs/init.el b/users/sterni/emacs/init.el
index ea7bac1a2a50..c38daa109ce5 100644
--- a/users/sterni/emacs/init.el
+++ b/users/sterni/emacs/init.el
@@ -109,7 +109,8 @@
 (let ((org-folder (concat (getenv "HOME") "/files/sync/org")))
   (setq org-agenda-files (directory-files-recursively org-folder "\\.org$")
         org-default-notes-file (concat org-folder "/inbox.org")
-        initial-buffer-choice org-default-notes-file))
+        initial-buffer-choice org-default-notes-file
+        org-refile-targets '((org-agenda-files . (:maxlevel . 2)))))
 
 ;; latex