diff options
author | sterni <sternenseemann@systemli.org> | 2023-04-29T12·58+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-05-01T16·17+0000 |
commit | 93a6d3d9208197c9d8ce419747ec5c34a9d8d8d1 (patch) | |
tree | eee5e4d655040af359469fa9bf1d3f7c4f0f937c | |
parent | e897f6a60585245a3841fffb2d831c1667ad2f2b (diff) |
feat(sterni/emacs): allow refiling to all agenda files r/6121
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>
-rw-r--r-- | users/sterni/emacs/init.el | 3 |
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 |