mirror of
https://git.savannah.gnu.org/git/emacs/org-mode.git
synced 2024-09-29 23:17:49 +00:00
Merge branch 'maint'
This commit is contained in:
commit
f70e36252a
|
@ -1233,13 +1233,13 @@ holding contextual information."
|
|||
:texinfo-entries-cache)))
|
||||
(cached-entries (gethash scope cache 'no-cache)))
|
||||
(if (not (eq cached-entries 'no-cache)) cached-entries
|
||||
(let ((sections (org-texinfo--sectioning-structure info)))
|
||||
(let* ((sections (org-texinfo--sectioning-structure info))
|
||||
(max-depth (length sections)))
|
||||
(puthash scope
|
||||
(cl-remove-if
|
||||
(lambda (h)
|
||||
(or (org-not-nil (org-export-get-node-property :COPYING h t))
|
||||
(>= (org-export-get-relative-level h info)
|
||||
(length sections))))
|
||||
(< max-depth (org-export-get-relative-level h info))))
|
||||
(org-export-collect-headlines info 1 scope))
|
||||
cache)))))
|
||||
|
||||
|
|
Loading…
Reference in a new issue