]> git.eshelyaron.com Git - emacs.git/commitdiff
* textmodes/reftex-vars.el (reftex-default-label-alist-entries):
authorTassilo Horn <tsdh@gnu.org>
Thu, 2 Aug 2012 18:24:11 +0000 (20:24 +0200)
committerTassilo Horn <tsdh@gnu.org>
Thu, 2 Aug 2012 18:24:11 +0000 (20:24 +0200)
Add listings, minted, and ctable packages.
(reftex-label-alist-builtin): Move listings, minted, and ctable
entries before LaTeX.

lisp/ChangeLog
lisp/textmodes/reftex-vars.el

index 4b0f567ba8e90d7a5b78b9996be169a054750afb..ce0ee4b9b8b7f69791d134c058f6e2a1bd75f82b 100644 (file)
@@ -1,3 +1,10 @@
+2012-08-02  Tassilo Horn  <tsdh@gnu.org>
+
+       * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
+       Add listings, minted, and ctable packages.
+       (reftex-label-alist-builtin): Move listings, minted, and ctable
+       entries before LaTeX.
+
 2012-08-02  Bastien Guerry  <bzg@gnu.org>
 
        * replace.el (occur): Fix docstring (bug#12122).
index 187c98af21fa1739b2676505ac01b3dec3dca62e..fa316ea760d170e77d0afbe6d5344530a62ba02d 100644 (file)
     (wrapfig     "The wrapfigure environment"
      (("wrapfigure" ?f nil nil caption)))
 
+    (ctable    "The ctable package"
+               (("\\ctable[]{}{}{}" ?t "tab:" "\\ref{%s}" 1 ("table" "Tabelle"))))
+
+    (listings  "The listings package"
+      (("lstlisting" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting"))))
+
+    (minted    "The minted package"
+      (("minted" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting"))))
+
     ;; The LaTeX core stuff
     (LaTeX       "LaTeX default environments"
      (("section"   ?s "%S" "~\\ref{%s}" (nil . t)
 
       ;; The label macro is hard coded, but it *could* be defined like this:
       ;;("\\label{*}" nil nil nil nil)
-      ))
-
-    (ctable    "The ctable package"
-     (("\\ctable[]{}{}{}" ?t "tab:" "\\ref{%s}" 1 ("table" "Tabelle"))))
-
-    (listings  "The listings package"
-      (("lstlisting" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting"))))
-
-    (minted    "The minted package"
-      (("minted" ?l "lst:" "~\\ref{%s}" nil (regexp "[Ll]isting")))))
+      )))
   "The default label environment descriptions.
 Lower-case symbols correspond to a style file of the same name in the LaTeX
 distribution.  Mixed-case symbols are convenience aliases.")
@@ -430,7 +430,8 @@ When nil, follow-mode will be suspended for stuff in unvisited files."
 
 (defcustom reftex-default-label-alist-entries
   '(amsmath endnotes fancybox floatfig longtable picinpar
-            rotating sidecap subfigure supertab wrapfig LaTeX)
+            rotating sidecap subfigure supertab wrapfig
+           listings minted ctable LaTeX)
   "Default label alist specifications.  LaTeX should always be the last entry.
 The value of this variable is a list of symbols with associations in the
 constant `reftex-label-alist-builtin'.  Check that constant for a full list