fix(org): show outline path on refile to current file
Before this change, the +org/refile-to-current-file command would display a flat list of tail headings in the current file, without context, which can result in duplicates and can make it difficult to tell where you're refiling a heading to. This changes each heading to be a full path.
This commit is contained in:
parent
77f3fea66a
commit
e303be6951
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
||||||
If prefix ARG, copy instead of move."
|
If prefix ARG, copy instead of move."
|
||||||
(interactive "P")
|
(interactive "P")
|
||||||
(let ((org-refile-targets `((,file :maxlevel . 10)))
|
(let ((org-refile-targets `((,file :maxlevel . 10)))
|
||||||
(org-refile-use-outline-path nil)
|
(org-refile-use-outline-path t)
|
||||||
(org-refile-keep arg)
|
(org-refile-keep arg)
|
||||||
current-prefix-arg)
|
current-prefix-arg)
|
||||||
(call-interactively #'org-refile)))
|
(call-interactively #'org-refile)))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue