Fix automatic evaluation of the Emacs Lisp setup blocks
This commit is contained in:
parent
b3518382bb
commit
7ee1ad02c0
@ -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]:
|
||||||
#+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
|
#+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
|
(with-eval-after-load 'ox
|
||||||
(make-variable-buffer-local 'org-export-filter-src-block-functions)
|
(make-variable-buffer-local 'org-export-filter-src-block-functions)
|
||||||
(add-to-list '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=]:
|
||||||
#+caption: Patch buffer local =ol-info=.
|
#+caption: Patch buffer local =ol-info=.
|
||||||
#+name: lst:emacs-lisp-setup-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
|
(with-eval-after-load 'ol-info
|
||||||
(make-variable-buffer-local 'org-info-emacs-documents)
|
(make-variable-buffer-local 'org-info-emacs-documents)
|
||||||
(setq org-info-emacs-documents (delete "org" 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.
|
#+caption: Define buffer local =ox-latex= variables.
|
||||||
#+header: :var title-page=lst/title-page
|
#+header: :var title-page=lst/title-page
|
||||||
#+name: lst:ox-latex-emacs-lisp-setup
|
#+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)
|
(when (require 'ox-latex nil 'noerror)
|
||||||
;; https://emacs.stackexchange.com/questions/47347/
|
;; https://emacs.stackexchange.com/questions/47347/
|
||||||
;; customizing-org-latex-title-command-to-edit-title-page
|
;; customizing-org-latex-title-command-to-edit-title-page
|
||||||
|
Loading…
Reference in New Issue
Block a user