Fix automatic evaluation of the Emacs Lisp setup blocks

This commit is contained in:
Gerard Vermeulen 2023-04-18 18:03:33 +02:00
parent b3518382bb
commit 7ee1ad02c0
1 changed files with 3 additions and 3 deletions

View File

@ -2703,7 +2703,7 @@ environments and non-floating breakable LaTeX environments by means of
#+caption[Emacs setup to use =engrave-faces-latex= in =org-mode= smartly]:
#+caption: Emacs setup to use =engrave-faces-latex= in =org-mode= smartly.
#+name: lst:ox-engraved-emacs-lisp-setup
#+begin_src emacs-lisp -n :results silent :tangle no
#+begin_src emacs-lisp -n :exports code :results none :tangle no
(with-eval-after-load 'ox
(make-variable-buffer-local 'org-export-filter-src-block-functions)
(add-to-list 'org-export-filter-src-block-functions
@ -2854,7 +2854,7 @@ See `org-link-parameters' for details about PATH, DESC and FORMAT."
#+caption[Patch buffer local =ol-info=]:
#+caption: Patch buffer local =ol-info=.
#+name: lst:emacs-lisp-setup-buffer-local-ol-info
#+begin_src emacs-lisp -n :exports code :results silent :tangle no
#+begin_src emacs-lisp -n :exports code :results none :tangle no
(with-eval-after-load 'ol-info
(make-variable-buffer-local 'org-info-emacs-documents)
(setq org-info-emacs-documents (delete "org" org-info-emacs-documents))
@ -3529,7 +3529,7 @@ exporting from Org-mode to LaTeX.
#+caption: Define buffer local =ox-latex= variables.
#+header: :var title-page=lst/title-page
#+name: lst:ox-latex-emacs-lisp-setup
#+begin_src emacs-lisp -n :results silent :tangle no
#+begin_src emacs-lisp -n :exports code :results none :tangle no
(when (require 'ox-latex nil 'noerror)
;; https://emacs.stackexchange.com/questions/47347/
;; customizing-org-latex-title-command-to-edit-title-page