From b93129459a7f76982b3a6c1bd39c8a4f6b17f010 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20A=2E=20Gomes?= Date: Thu, 7 Oct 2021 21:36:25 +0300 Subject: [PATCH 24/76] Deprecate org-export--collect-headline-numbering. Not made obsolete since the symbol name indicates that this is an internal function. --- lisp/ox.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lisp/ox.el b/lisp/ox.el index cf7afbe59..58e59f552 100644 --- a/lisp/ox.el +++ b/lisp/ox.el @@ -1612,7 +1612,7 @@ BLOB is the element or object considered." ;; should be skipped during export, `org-export--get-min-level' gets ;; the minimal exportable level, used as a basis to compute relative ;; level for headings. Eventually -;; `org-export--collect-headline-numbering' builds an alist between +;; `org-export--collect-heading-numbering' builds an alist between ;; headings and their numbering. (defun org-export--collect-tree-properties (data info) @@ -1647,7 +1647,7 @@ Return updated plist." ;; tree properties. (org-combine-plists info - (list :headline-numbering (org-export--collect-headline-numbering data info) + (list :headline-numbering (org-export--collect-heading-numbering data info) :id-alist (org-element-map data 'link (lambda (l) @@ -1672,7 +1672,7 @@ OPTIONS is a plist holding export options." ;; minimum level to 1 nonetheless. (if (= min-level 10000) 1 min-level)))) -(defun org-export--collect-headline-numbering (data options) +(defun org-export--collect-heading-numbering (data options) "Return numbering of all exportable, numbered headings in a parse tree. DATA is the parse tree. OPTIONS is the plist holding export -- 2.33.0