From a6a85cdb8b78927619680b3b01138b04ade68362 Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 1 May 2021 20:25:19 +0200 Subject: [PATCH] Use only file name in Org mode refile targets instead of buffer name Using the buffer name does not seem to play well together with org refile keeping the last choice on top of the candidate list, because a slash is automatically appended to this entry. This results in an invalid refile location. Thus reverting back to only using the file name, it's fine this way. --- init.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.el b/init.el index 1d5e29a..35c628e 100644 --- a/init.el +++ b/init.el @@ -847,7 +847,7 @@ (setq org-refile-targets '((org-agenda-files . (:maxlevel . 9)) (nil . (:maxlevel . 9)) (db/org-default-notes-file . (:maxlevel . 9))) - org-refile-use-outline-path 'buffer-name + org-refile-use-outline-path 'file org-refile-use-cache t org-refile-allow-creating-parent-nodes 'confirm org-indirect-buffer-display 'current-window