Fix refiling to an empty headline
commit75238d25ed67a44dbcf79a0961efd5fe7e9c25b0
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 16 Jun 2016 22:39:52 +0000 (17 00:39 +0200)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Thu, 16 Jun 2016 22:39:52 +0000 (17 00:39 +0200)
tree2c658ddfaca444b84071c017dae8283c49dd6841
parent504ffefcd5815d5ac770bb8da62c764bab37811a
Fix refiling to an empty headline

* lisp/org.el (org-refile): Do not assume the headline is not empty.

Reported-by: Fabrice Popineau <fabrice.popineau@supelec.fr>
<http://permalink.gmane.org/gmane.emacs.orgmode/107772>
lisp/org.el