feat(sterni/emacs): allow refiling to all agenda files

Change-Id: I78eb4a6d21117784d7684e05d4cc92a92e43e482
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8545
Reviewed-by: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Autosubmit: sterni <sternenseemann@systemli.org>
This commit is contained in:
sterni 2023-04-29 14:58:26 +02:00 committed by clbot
parent e897f6a605
commit 93a6d3d920

View file

@ -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