contrib/lisp/org-export.el (org-export-collect-headline-numbering): Small fix
This commit is contained in:
parent
b78800f05a
commit
d140374fc9
|
@ -1260,7 +1260,8 @@ numbers)."
|
||||||
data
|
data
|
||||||
'headline
|
'headline
|
||||||
(lambda (headline info)
|
(lambda (headline info)
|
||||||
(let ((relative-level (1- (org-export-get-relative-level blob info))))
|
(let ((relative-level
|
||||||
|
(1- (org-export-get-relative-level headline info))))
|
||||||
(cons
|
(cons
|
||||||
(org-element-get-property :begin headline)
|
(org-element-get-property :begin headline)
|
||||||
(loop for n across numbering
|
(loop for n across numbering
|
||||||
|
|
Loading…
Reference in New Issue