branch: elpa
commit e2d62106c280b2d411e63cdb13afafce4e4e282d
Author: Arash Esbati <[email protected]>
Commit: Mosè Giordano <[email protected]>
Fix in minted style.
* style/minted.el: Update copyright year.
(LaTeX-minted-auto-cleanup): Fix the name of the new langcode
environment.
Signed-off-by: Mosè Giordano <[email protected]>
---
ChangeLog | 6 ++++++
style/minted.el | 4 ++--
2 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index c2e24db..d3cabd8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2015-01-16 Arash Esbati <[email protected]>
+
+ * style/minted.el: Update copyright year.
+ (LaTeX-minted-auto-cleanup): Fix the name of the new langcode
+ environment.
+
2014-12-30 Arash Esbati <[email protected]>
* style/multirow.el ("multirow"): Fix a typo in the name of a
diff --git a/style/minted.el b/style/minted.el
index 83d4764..9a8df3c 100644
--- a/style/minted.el
+++ b/style/minted.el
@@ -1,6 +1,6 @@
;;; minted.el --- AUCTeX style for `minted.sty'
-;; Copyright (C) 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2014, 2015 Free Software Foundation, Inc.
;; Author: Tassilo Horn <[email protected]>
;; Maintainer: [email protected]
@@ -138,7 +138,7 @@
(dolist (name-lang LaTeX-minted-auto-newminted)
(let* ((env (if (> (length (car name-lang)) 0)
(car name-lang)
- (cadr name-lang)))
+ (concat (cadr name-lang) "code")))
(env* (concat env "*")))
(add-to-list 'LaTeX-auto-environment (list env))
(add-to-list 'LaTeX-auto-environment