Thomas Ingram <tho...@taingram.org> writes:

> I have attached a small patch that corrects this issue.  I added the
> PROJECT-NAME argument to the calls to `org-publish-cache-get-file-property'.
> That ensures the cache is always initialized for the project.
>
> * Recreate the Error
> ...

Thanks for the patch!
May you also take a look at other calls to
`org-publish-cache-get-file-property'? May they also benefit from
passing project-name argument?

> From 9121b0507e0ae1a1df5dae8717f02483610a81fc Mon Sep 17 00:00:00 2001
> From: Thomas Ingram <tho...@taingram.org>
> Date: Wed, 23 Apr 2025 17:59:53 -0400
> Subject: [PATCH] Prevent 'hash-table-p nil' error in
>  org-publish-find-(title|date)
>
> Add the PROJECT-NAME in calls to `org-publish-cache-get-file-property'
> to ensure the cache is always initialized for the given project.

Please follow our changelog format as described in
https://orgmode.org/worg/org-contribute.html#commit-messages

Also, please add TINYCHANGE cookie as you do not appear to have a
copyright assignment.

-- 
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>

Reply via email to