org-export: Fix regression in headline numbering
commite270792bd8f380442082a2cf7b7e6cf7890e0e1d
authorNicolas Goaziou <n.goaziou@gmail.com>
Sun, 15 Jan 2012 23:36:26 +0000 (16 00:36 +0100)
committerNicolas Goaziou <n.goaziou@gmail.com>
Sun, 15 Jan 2012 23:36:26 +0000 (16 00:36 +0100)
treecafdbc473550d759bd9815ee5ae6c6ac535d04a4
parent5e970e407a4d3c343141815f060560ad972d84c2
org-export: Fix regression in headline numbering

* contrib/lisp/org-export.el (org-export-collect-tree-properties):
  Ensure `:headline-offset' is filled before `:headline-numbering'
  since the latter depends on the former.
(org-export-collect-headline-numbering): Use headline elements as keys
  in the returned alist, instead of just beginning numbers.
(org-export-get-headline-number): Apply key change.
contrib/lisp/org-export.el