branch: externals/auctex
commit f470df87e7ea5c651b06d94cf67e066fe6489f01
Author: Arash Esbati <[email protected]>
Commit: Tassilo Horn <[email protected]>
Make `LaTeX-indent-environment-list' local.
* style/filecontents.el ("filecontents"): Make
`LaTeX-indent-environment-list' local before adding new env's.
---
ChangeLog | 3 +++
style/filecontents.el | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 7558e4d..488269a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
2015-09-25 Arash Esbati <[email protected]>
+ * style/filecontents.el ("filecontents"): Make
+ `LaTeX-indent-environment-list' local before adding new env's.
+
* style/fontenc.el: Fix mail address in Maintainer-header.
2015-09-25 Mos� Giordano <[email protected]>
diff --git a/style/filecontents.el b/style/filecontents.el
index 20cfa98..256c214 100644
--- a/style/filecontents.el
+++ b/style/filecontents.el
@@ -40,6 +40,7 @@
'("filecontents" LaTeX-env-filecontents)
'("filecontents*" LaTeX-env-filecontents))
+ (make-local-variable 'LaTeX-indent-environment-list)
(add-to-list 'LaTeX-indent-environment-list
'("filecontents" current-indentation))
(add-to-list 'LaTeX-indent-environment-list