emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/auctex 8d5acb0 13/78: Do not indent the content of `fil


From: Tassilo Horn
Subject: [elpa] externals/auctex 8d5acb0 13/78: Do not indent the content of `filecontents[*]' env.
Date: Mon, 19 Oct 2015 09:10:42 +0000

branch: externals/auctex
commit 8d5acb0d4bb8fa376e013ca7c4bf23ee0fa08e73
Author: Arash Esbati <address@hidden>
Commit: Mosè Giordano <address@hidden>

    Do not indent the content of `filecontents[*]' env.
    
    * style/filecontents.el ("filecontents"): Do not indent the
    content of `filecontents[*]' environment.
    
    Signed-off-by: Mosè Giordano <address@hidden>
---
 ChangeLog             |    3 +++
 style/filecontents.el |    9 +++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index df7b22a..4841e1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-08-30  Arash Esbati  <address@hidden>
 
+       * style/filecontents.el ("filecontents"): Do not indent the
+       content of `filecontents[*]' environment.
+
        * style/hyperref.el ("hyperref"): Do not indent the content of
        `Form' environment.
 
diff --git a/style/filecontents.el b/style/filecontents.el
index 493b6c7..20cfa98 100644
--- a/style/filecontents.el
+++ b/style/filecontents.el
@@ -1,6 +1,6 @@
 ;;; filecontents.el --- AUCTeX style for `filecontents.sty'
 
-;; Copyright (C) 2013, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2013--2015 Free Software Foundation, Inc.
 
 ;; Author: Mads Jensen <address@hidden>
 ;; Maintainer: address@hidden
@@ -38,7 +38,12 @@
  (lambda ()
    (LaTeX-add-environments
     '("filecontents" LaTeX-env-filecontents)
-    '("filecontents*" LaTeX-env-filecontents)))
+    '("filecontents*" LaTeX-env-filecontents))
+
+   (add-to-list 'LaTeX-indent-environment-list
+               '("filecontents" current-indentation))
+   (add-to-list 'LaTeX-indent-environment-list
+               '("filecontents*" current-indentation)))
  LaTeX-dialect)
 
 (defun LaTeX-env-filecontents (environment)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]