[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex 4fcee32 68/95: Use the variable `LaTeX-listing-l
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex 4fcee32 68/95: Use the variable `LaTeX-listing-label' |
Date: |
Sun, 16 Apr 2017 01:26:57 -0400 (EDT) |
branch: externals/auctex
commit 4fcee32875a9b192b7e38f955d50d49ad88bbd93
Author: Arash Esbati <address@hidden>
Commit: Arash Esbati <address@hidden>
Use the variable `LaTeX-listing-label'
* style/minted.el ("minted"):
* style/newfloat.el (LaTeX-newfloat-auto-cleanup): Use
`LaTeX-listing-label' instead of hard-coded "lst:" string.
---
style/minted.el | 2 +-
style/newfloat.el | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/style/minted.el b/style/minted.el
index 914ee66..c5582e3 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -336,7 +336,7 @@ are loaded."
'("listoflistingscaption"))
(add-to-list (make-local-variable 'LaTeX-indent-environment-list)
'("listing" current-indentation) t)
- (add-to-list 'LaTeX-label-alist '("listing" . "lst:") t)
+ (add-to-list 'LaTeX-label-alist '("listing" . LaTeX-listing-label) t)
(when (fboundp 'reftex-add-label-environments)
(reftex-add-label-environments
'(("listing" ?l "lst:" "~\\ref{%s}" caption nil nil)))))
diff --git a/style/newfloat.el b/style/newfloat.el
index 8ad5438..5475577 100644
--- a/style/newfloat.el
+++ b/style/newfloat.el
@@ -119,7 +119,7 @@ If `caption.el' is loaded, add the new floating environment
to
(LaTeX-add-environments `(,flt ["Float Position"]))
(add-to-list (make-local-variable 'LaTeX-indent-environment-list)
`(,flt current-indentation) t)
- (add-to-list 'LaTeX-label-alist `(,flt . "lst:") t)
+ (add-to-list 'LaTeX-label-alist `(,flt . LaTeX-listing-label) t)
(when (fboundp 'reftex-add-label-environments)
(reftex-add-label-environments
`((,flt ?l "lst:" "~\\ref{%s}" caption nil nil)))))
- [elpa] externals/auctex 664186d 52/95: ; Add fix related with coding system missing in my commit on Feb 14., (continued)
- [elpa] externals/auctex 664186d 52/95: ; Add fix related with coding system missing in my commit on Feb 14., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 7c48c19 49/95: * tex-ispell.el (TeX-ispell-skip-cmds-list): Add hyperref macros., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4054384 25/95: Fix parsing bug in style/xcolor.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex b4f304b 36/95: Improve regexp for looking for documentclass macro, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 9876030 23/95: Fix minor problems, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 586cbd8 28/95: * .gitignore: Ignore only preview.el in top directory., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex cf43d7d 53/95: ; Add some full stops at the end of sentences of the manual, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex de5e40b 37/95: Fix setting of coding system for Japanese TeX, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 7e7e55e 40/95: Add new style/sourcecodepro.el, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 991b582 50/95: Detect \& in tabular cells when filling, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4fcee32 68/95: Use the variable `LaTeX-listing-label',
Tassilo Horn <=
- [elpa] externals/auctex 77974e6 71/95: * style/minted.el ("minted"): Add key=val query for \mint and \mintinline., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 43b07d9 70/95: Use `TeX-line-number-at-pos' further for older emacsen, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 9e7f21e 69/95: Use compatibility function `TeX-line-number-at-pos' for older emacsen, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex c360b9a 76/95: Adapt fontification for \lstinline, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 2182b6f 30/95: Append "lstlisting" to `LaTeX-label-alist', Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 337ce76 33/95: Add new keys for package version 4.00, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 6bb49cc 39/95: * style/subfiles.el (LaTeX-subfiles-class-options): New function., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 4992f5a 46/95: Make customization to face specification to appear in, Tassilo Horn, 2017/04/16
- [elpa] externals/auctex c97a654 48/95: * tex-ispell.el (TeX-ispell-skip-setcdr): Add entry for filecontents package., Tassilo Horn, 2017/04/16
- [elpa] externals/auctex 0dc770d 42/95: Prevent infinite loop in TeX-command-expand, Tassilo Horn, 2017/04/16