Thanks, I'll check it out! Just a way to get over some sleepless nights... /PA On Mon, 1 Jan 2024 at 10:17, Ihor Radchenko wrote: > Pedro Andres Aranda Gutierrez writes: > > > Attached is a concept which might be useful. At least it detects when > > variables are set locally and then doesn't attempt anything. > > You may rather need to hack on `org-export-get-environment', possibly > extending it. For example, we may allow more flexible > `org-export-options-alist'. > > > (defun is-in-local-variable-alists (sym) > > "Check if symbol is in any local variable alist" > > (when > > (or (and (boundp 'connection-local-variables-alist) > > (assoc sym connection-local-variables-alist)) > > (and (boundp 'file-local-variables-alist) > > (assoc sym file-local-variables-alist)) > > (and (boundp 'dir-local-variables-alist) > > (assoc sym dir-local-variables-alist))) > > t)) > > Note that you can simply use `buffer-local-boundp'. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > -- Fragen sind nicht da, um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet