Reduce local scope of `org-export-filter-src-block-functions'
This commit is contained in:
parent
39b35f67dd
commit
3901e2bc2e
@ -3513,7 +3513,7 @@ environments and non-floating breakable LaTeX environments by means of
|
|||||||
#+name: lst:ox-engraved-emacs-lisp-setup
|
#+name: lst:ox-engraved-emacs-lisp-setup
|
||||||
#+begin_src emacs-lisp -n :exports code :results none :tangle no
|
#+begin_src emacs-lisp -n :exports code :results none :tangle no
|
||||||
(with-eval-after-load 'ox-latex
|
(with-eval-after-load 'ox-latex
|
||||||
(make-variable-buffer-local 'org-export-filter-src-block-functions)
|
(make-local-variable 'org-export-filter-src-block-functions)
|
||||||
(add-to-list 'org-export-filter-src-block-functions
|
(add-to-list 'org-export-filter-src-block-functions
|
||||||
'org-latex-engraved-source-block-filter)
|
'org-latex-engraved-source-block-filter)
|
||||||
(make-variable-buffer-local 'org-latex-compiler-file-string)
|
(make-variable-buffer-local 'org-latex-compiler-file-string)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user