From 30953bd7b701c870152cd60f52f2d484970caeb9 Mon Sep 17 00:00:00 2001 From: TEC Date: Wed, 29 Jun 2022 23:17:11 +0800 Subject: [PATCH] ox-latex: Pass on custom-env with src blocks * lisp/ox-latex.el (org-latex-src-block): Fix an earlier oversight where the custom environment was not passed on from `org-latex-src-block' to `org-latex-src-block--custom'. --- lisp/ox-latex.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index 32b48a483..4de89bc78 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -3286,7 +3286,8 @@ contextual information." :num-start num-start :retain-labels retain-labels :attributes attributes - :float float)))) + :float float + :custom-env custom-env)))) (cl-defun org-latex-src-block--verbatim (&key src-block info caption caption-above-p float &allow-other-keys)