[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: org-cite: how to force a reparsing of the .bib file
From: |
Leo Butler |
Subject: |
Re: org-cite: how to force a reparsing of the .bib file |
Date: |
Thu, 24 Aug 2023 17:57:29 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
On Thu, Aug 24 2023, Ihor Radchenko <yantar92@posteo.net> wrote:
> Leo Butler <Leo.Butler@umanitoba.ca> writes:
>
>>> Does the attached patch fix the problem?
>>
>> ...
>> To avoid an unneeded setq, I applied the patch:
>>
>> (dolist (file (mapcar #'file-truename
>> (org-cite-list-bibliography-files)))
>
> This would create an extra list and increase GC pressure. So, I prefer setq.
>
>> This caused the bibtex file to be re-parsed when I changed it.
>
> Thanks for testing!
> Applied.
> Fixed, on main.
> https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=3c3db7b33
Thanks, Ihor.
Leo