From a9905a2b1693bae5bcbcc627c64bcba842d71890 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Sat, 10 Feb 2024 09:39:10 +0100 Subject: [PATCH] Make `org-latex-toc-command' a safe file local variable --- README.org | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.org b/README.org index 0e452db..37cfed1 100644 --- a/README.org +++ b/README.org @@ -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" " -interaction=nonstopmode" " -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 #+caption[Setup =org-latex-classes= for backwards compatibility]: