[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [BUG] org-element--cache Cached element is incorrect (ox-hugo) [9.6.
From: |
Ihor Radchenko |
Subject: |
Re: [BUG] org-element--cache Cached element is incorrect (ox-hugo) [9.6.10 (release_9.6.10 @ /home/gk/.emacs.d/lib/org/lisp/)] |
Date: |
Wed, 25 Oct 2023 15:42:28 +0000 |
Kaushal Modi <kaushal.modi@gmail.com> writes:
> From the commit log:
>
>> This fixes ox-hugo bug when Org buffer copy cache is corrupted.
>
> Ihor, is there a bug that needs to be addressed on the ox-hugo side as well?
Not really. The bug what that `org-export-ignored-local-variables' did
not list some important variables to not copy.
If you want though, you may consider using the new
`org-export-with-buffer-copy' macro in
`org-hugo--get-pre-processed-buffer'. AFAIU, it should avoid the need to
copy-paste code from Org and is already available on stable Org release.
--
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>