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

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

[elpa] externals/auctex 0b3a6e8 12/78: Do not indent the content of `For


From: Tassilo Horn
Subject: [elpa] externals/auctex 0b3a6e8 12/78: Do not indent the content of `Form' environment.
Date: Mon, 19 Oct 2015 09:10:41 +0000

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

    Do not indent the content of `Form' environment.
    
    * style/hyperref.el ("hyperref"): Do not indent the content of
    `Form' environment.
    
    Signed-off-by: Mosè Giordano <address@hidden>
---
 ChangeLog         |    3 +++
 style/hyperref.el |    6 +++++-
 2 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index ed15097..df7b22a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2015-08-30  Arash Esbati  <address@hidden>
 
+       * style/hyperref.el ("hyperref"): Do not indent the content of
+       `Form' environment.
+
        * style/array.el ("array"): Add fontification for
        `\newcolumntype'.
 
diff --git a/style/hyperref.el b/style/hyperref.el
index a1eee7c..45d70a1 100644
--- a/style/hyperref.el
+++ b/style/hyperref.el
@@ -1,6 +1,6 @@
 ;;; hyperref.el --- AUCTeX style for `hyperref.sty' v6.83m
 
-;; Copyright (C) 2008, 2013, 2014 Free Software Foundation, Inc.
+;; Copyright (C) 2008, 2013--2015 Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli <address@hidden>
 ;; Maintainer: address@hidden
@@ -266,6 +266,10 @@
    (LaTeX-add-environments
     '("Form"))
 
+   ;; Do not indent the content of the "Form"-env; it is odd if the
+   ;; whole document is indented.
+   (add-to-list 'LaTeX-indent-environment-list '("Form" current-indentation))
+
    (add-to-list 'LaTeX-verbatim-macros-with-braces-local "nolinkurl")
    (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperbaseurl")
    (add-to-list 'LaTeX-verbatim-macros-with-braces-local "hyperimage")



reply via email to

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