From b94b5ba0bdb619cb9047efb19432216812eaf6a2 Mon Sep 17 00:00:00 2001 From: Alan Schmitt Date: Mon, 30 Nov 2015 13:07:56 +0100 Subject: [PATCH] ox-latex: Make org-latex-custom-lang-environments a defcustom * ox-latex.el (org-latex-custom-lang-environments): Change from defvar into a defcustom. --- lisp/ox-latex.el | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/lisp/ox-latex.el b/lisp/ox-latex.el index eaad29f..407df6b 100644 --- a/lisp/ox-latex.el +++ b/lisp/ox-latex.el @@ -1021,7 +1021,7 @@ block-specific options, you may use the following syntax: (string :tag "Minted option name ") (string :tag "Minted option value")))) -(defvar org-latex-custom-lang-environments nil +(defcustom org-latex-custom-lang-environments nil "Alist mapping languages to language-specific LaTeX environments. It is used during export of src blocks by the listings and minted @@ -1062,7 +1062,14 @@ will produce \\end{minted} \\caption{} \\label{