]> git.eshelyaron.com Git - emacs.git/commitdiff
Adjust the environment name for the minted package
authorArash Esbati <arash@gnu.org>
Thu, 18 Aug 2022 20:55:18 +0000 (22:55 +0200)
committerArash Esbati <arash@gnu.org>
Thu, 18 Aug 2022 20:55:18 +0000 (22:55 +0200)
* 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

index f9f09825fa002323077a5c4a6409b91703e526b3..ee94cc5d693d39deacf34c3525da249f7fdb81b5 100644 (file)
      (("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"