Fix `org-get-outline-path'
commit2971ab6126882f1a49f72750d9adcbaeb9534b7c
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 29 Feb 2016 15:25:24 +0000 (29 16:25 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Mon, 29 Feb 2016 15:25:24 +0000 (29 16:25 +0100)
treef906e5b1a75dcdf1b7e65eadfbbbc5816ef2ff1c
parentdc68d28d67fb8cd48de317585dbddae9dd1470e8
Fix `org-get-outline-path'

* lisp/org.el (org--get-outline-path-1): Fix wrong type arrayp error
  when trying to get the outline path of an empty headline.
* testing/lisp/test-org.el (test-org/get-outline-path): Add test.

Reported-by: Tobias Getzner <tobias.getzner@gmx.de>
<http://permalink.gmane.org/gmane.emacs.orgmode/105407>
lisp/org.el
testing/lisp/test-org.el