Let `or-export-last-sibling-p' handle discontinuous headlines
commitf53d1e2005a26a52427b7514f2d3e7cfa3ff2562
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 2 Dec 2017 11:21:03 +0000 (2 12:21 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 2 Dec 2017 11:22:32 +0000 (2 12:22 +0100)
treee75bbcb73e52f1964fe72258b33767ebf7703eb7
parent0cc231a7bb9f261640205943ddeb42ad8cefc43d
Let `or-export-last-sibling-p' handle discontinuous headlines

* lisp/ox.el (org-export-last-sibling-p): Handle discontinuous
  headlines.
* testing/lisp/test-ox.el (test-org-export/last-sibling-p): Add test.

Fixes: 24836
lisp/ox.el
testing/lisp/test-ox.el