# -*- coding: utf-8 -*- # name: smart-latex-engrave # key: sle # expand-env: ((yas-indent-line 'fixed)) # -- #+name: lst:smart-latex-engrave-emacs-lisp-setup #+begin_src emacs-lisp :exports none :results silent (with-eval-after-load 'ox-latex (make-variable-buffer-local 'org-export-filter-src-block-functions) (add-to-list 'org-export-filter-src-block-functions 'org-latex-engraved-source-block-filter) (when (fboundp 'smart-latex-engrave-org-source-blocks) (smart-latex-engrave-org-source-blocks))) #+end_src