ox: Fix UNNUMBERED strict inheritance
commit82812ff086ccb54eb41cd2f1df3fedea3a709ab8
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 19 Nov 2017 22:59:56 +0000 (19 23:59 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sun, 19 Nov 2017 23:09:59 +0000 (20 00:09 +0100)
treeac3431804ad0f89072c02ce991f457fc75bec677
parent946f76d7070f8fbcf5c1072b7f53cea599f2e110
ox: Fix UNNUMBERED strict inheritance

* lisp/ox.el (org-export-numbered-headline-p): Use a less opinionated
  definition of inheritance.

* testing/lisp/test-ox.el (test-org-export/numbered-headline-p):
  Update test.

* doc/org.texi (Export settings): Insist on UNNUMBERED inheritance.

It is now possible to number a headline within an unnumbered tree.
doc/org.texi
lisp/ox.el
testing/lisp/test-ox.el