Procházet zdrojové kódy

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'.
TEC před 2 roky
rodič
revize
30953bd7b7
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 2 1
      lisp/ox-latex.el

+ 2 - 1
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)