* 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'.
@@ -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)