Fix creation of parent nodes when refiling.
commit45b0d23b0c3c9e4f488658a2102685a93c1ee842
authorBastien Guerry <bzg@altern.org>
Sat, 4 Jan 2014 14:05:01 +0000 (4 15:05 +0100)
committerBastien Guerry <bzg@altern.org>
Sat, 4 Jan 2014 14:05:01 +0000 (4 15:05 +0100)
tree45f60065f7050f792405633a3323318f1b61536f
parent857cf28a90902cd0a37562a655e04c7387e01c45
Fix creation of parent nodes when refiling.

* org.el (org-refile-get-location): Check for a refile
position when the position is not nil, otherwise allow to
create the parent node if the user requests it.

Thanks to Li Zhuo for reporting this bug and for providing
a preliminary patch.
lisp/org.el