Ihor Radchenko <yanta...@posteo.net> writes: >> I am not sure if it is a bug, but when I call >> >> (org-publish-find-title "/absolute/path/to/org/file.org" '("")) >> ... >> in the funtion org-publish-cache-get-file-property where >> org-publish-transient-cache is initialized with nil. > > It is a documentation bug. > `org-publish-find-title' expects that the cache has been initialized.
... and Thomas Ingram actually went ahead and changed the that function to initialize cache. So, should not be a problem on main (development) branch. https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=cb866bf1a -- Ihor Radchenko // yantar92, Org mode maintainer, 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>