branch: externals/org
commit 30953bd7b701c870152cd60f52f2d484970caeb9
Author: TEC <t...@tecosaur.com>
Commit: TEC <t...@tecosaur.com>

    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 32b48a4839..4de89bc785 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)

Reply via email to