branch: externals/auctex
commit 0b3a6e8d51defeda7016d926e2c8bcc8daaf4898
Author: Arash Esbati <[email protected]>
Commit: Mosè Giordano <[email protected]>
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 <[email protected]>
---
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 <[email protected]>
+ * 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 <[email protected]>
;; Maintainer: [email protected]
@@ -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")