From 869bef892b0211704ba438d37ba6914574835c7e Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Thu, 18 Aug 2022 22:55:18 +0200 Subject: [PATCH] Adjust the environment name for the minted package * lisp/textmodes/reftex-vars.el (reftex-label-alist-builtin): Fix the name of the environment which can contain a \label macro. --- lisp/textmodes/reftex-vars.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/textmodes/reftex-vars.el b/lisp/textmodes/reftex-vars.el index f9f09825fa0..ee94cc5d693 100644 --- a/lisp/textmodes/reftex-vars.el +++ b/lisp/textmodes/reftex-vars.el @@ -100,7 +100,7 @@ (("lstlisting" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting")))) (minted "The minted package" - (("minted" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting")))) + (("listing" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting")))) ;; The LaTeX core stuff (LaTeX "LaTeX default environments" -- 2.39.2