Rudolf Adamkovič <rud...@adamkovic.org> writes: > From: Rudolf Adamkovic <rud...@adamkovic.org> > > * etc/ORG-NEWS (Texinfo exporter now supports numeric =toc= values in > =#+OPTIONS:=): Announce the new feature. > * lisp/ox.el (org-export-excluded-from-toc-p): Return nil for all > headlines that are above the `toc' value in export `#+OPTIONS'. > * testing/lisp/test-ox-texinfo.el > (test-ox-texinfo/headings-and-table-of-contents): Add a test.
AFAIU, it is a bugfix. Right? If it is, the patch name is rather confusing. Also, what about `org-export-collect-headlines'. It also ignores numeric value of :with-toc. -- Ihor Radchenko // yantar92, Org mode contributor, Learn more about Org mode at <https://orgmode.org/>. Support Org development at <https://liberapay.com/org-mode>, or support my work at <https://liberapay.com/yantar92>