Make `org-latex-toc-command' a safe file local variable

This commit is contained in:
Gerard Vermeulen 2024-02-10 09:39:10 +01:00
parent 4092de976b
commit a9905a2b16

View File

@ -2879,7 +2879,9 @@ def __org_babel_python_format_value(result, result_file, result_params):
org-latex-pdf-process (list (concat "latexmk -f -pdf -%latex" org-latex-pdf-process (list (concat "latexmk -f -pdf -%latex"
" -interaction=nonstopmode" " -interaction=nonstopmode"
" -shell-escape -outdir=%o %f")) " -shell-escape -outdir=%o %f"))
org-latex-prefer-user-labels t)) org-latex-prefer-user-labels t)
(put 'org-latex-toc-command 'safe-local-variable 'stringp))
#+end_src #+end_src
#+caption[Setup =org-latex-classes= for backwards compatibility]: #+caption[Setup =org-latex-classes= for backwards compatibility]: