fix(org): allow refiling to top level

Allow +org/refile-to-current-file to file to top level.

Fix: #5272
This commit is contained in:
flakeuser
2025-04-18 20:47:09 -07:00
committed by Henrik Lissner
parent 20381dea16
commit ed85328f57

View File

@ -8,7 +8,7 @@
If prefix ARG, copy instead of move."
(interactive "P")
(let ((org-refile-targets `((,file :maxlevel . 10)))
(org-refile-use-outline-path t)
(org-refile-use-outline-path 'file)
(org-refile-keep arg)
current-prefix-arg)
(call-interactively #'org-refile)))