From: Arash Esbati Date: Thu, 18 Aug 2022 20:55:18 +0000 (+0200) Subject: Adjust the environment name for the minted package X-Git-Tag: emacs-29.0.90~1447^2~62 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=869bef892b0211704ba438d37ba6914574835c7e;p=emacs.git 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. --- 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"