org-refile: Optionally prefix refile targets with buffer name
commit1188beaa3bd66cca094628be680ac109e3fe91e8
authorSebastian Reuße <seb@wirrsal.net>
Sat, 6 May 2017 06:38:45 +0000 (6 08:38 +0200)
committerKyle Meyer <kyle@kyleam.com>
Sat, 6 May 2017 16:01:20 +0000 (6 12:01 -0400)
tree2d62aa055c827aadb4e7d4af81c7309ea86ee605
parent53bcf91a967f8fb3ef5ee68b95318cdab235694e
org-refile: Optionally prefix refile targets with buffer name

* org.el (org-refile-get-targets): Add case to optionally prefix
refile targets with the buffer name.
(org-refile-use-outline-path): Add new option setting and document.

Having an option to use the buffer name as a prefix is convenient,
since this will work hand in hand with uniquify to only show those
parts of the filesystem path needed to disambiguate buffers of
identically named files, as opposed to prefixing refile targets with
the full filesystem path.
lisp/org.el