From f717203e8ce355c8c389914c6b7ee7afd8bde702 Mon Sep 17 00:00:00 2001 From: Gerard Vermeulen Date: Tue, 9 Aug 2022 05:44:09 +0200 Subject: [PATCH] Org-mode upstream undid local variables initialization changes --- README.org | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/README.org b/README.org index 80898e2..b40f129 100644 --- a/README.org +++ b/README.org @@ -2292,12 +2292,8 @@ variables in order to export the =info-org-link= types in this document to (org-eval-named-blocks-with-infix "python-setup")) ;; Emacs looks for "Local variables:" after the last "newline-formfeed". - (add-to-list - 'safe-local-eval-forms - '(add-hook 'org-mode-hook 'org-eval-emacs-lisp-setup-blocks nil 'local)) - (add-to-list - 'safe-local-eval-forms - '(add-hook 'org-mode-hook 'org-eval-python-setup-blocks nil 'local))) + (add-to-list 'safe-local-eval-forms '(org-eval-emacs-lisp-setup-blocks)) + (add-to-list 'safe-local-eval-forms '(org-eval-python-setup-blocks))) #+end_src *** [[info:org#LaTeX header and sectioning][Easy LaTeX preamble editing]] @@ -4435,7 +4431,7 @@ Only the [[info:org#Top][Org]] source file shows the local variables footer. # Emacs looks for "Local variables:" after the last "newline-formfeed". # Local Variables: -# eval: (add-hook 'org-mode-hook 'org-eval-emacs-lisp-setup-blocks nil 'local) +# eval: (org-eval-emacs-lisp-setup-blocks) # compile-command: "latexmk -interaction=nonstopmode -lualatex -pvc -shell-escape README.tex" # fill-column: 80 # End: