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.
This commit is contained in:
Daniel - 2021-05-01 20:25:19 +02:00
parent 453c6e37bf
commit a6a85cdb8b
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 1 additions and 1 deletions

View File

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