> From: Ihor Radchenko <yanta...@posteo.net> > Date: Fri, 14 Jun 2024 14:27:12 +0000 > > Protesilaos Stavrou <pub...@protesilaos.com> writes: > >> I have noticed that the export mechanism does not read the local >> variables of a file when those come from a .dir-locals.el. > > It is expected - export happens in a separate buffer that only inherits > Org mode settings, but nothing else. > > Not a bug. > Canceled.
I think it runs counter to the idea of directory-local variables. Though #+bind is fine. >> ... >> Perhaps there is some user option to let the export mechanism read those >> local variables? > > You can make use of #+bind functionality. Thank you! -- Protesilaos Stavrou https://protesilaos.com