Hi, I have a direct use for org-latex-toc-command being a file local safe variable and I looked a bit around for other variables not being file local safe for no good reason IMO (why those not, while similar variables yes).
I have attached a patch which makes six variables file local safe. Regards -- Gerard
0001-ox-latex-Make-more-variables-file-local-safe.patch
Description: Binary data