From ed85328f570011e211ac959d6d88eeb156c61211 Mon Sep 17 00:00:00 2001 From: flakeuser <2792697+Jdogzz@users.noreply.github.com> Date: Fri, 18 Apr 2025 20:47:09 -0700 Subject: [PATCH] fix(org): allow refiling to top level Allow +org/refile-to-current-file to file to top level. Fix: #5272 --- modules/lang/org/autoload/org-refile.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/lang/org/autoload/org-refile.el b/modules/lang/org/autoload/org-refile.el index 28bd28bb4..87365aa39 100644 --- a/modules/lang/org/autoload/org-refile.el +++ b/modules/lang/org/autoload/org-refile.el @@ -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)))