>From f2a87ea1070a2ed2b710ae205e9c20e5df596633 Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Sun, 30 Aug 2015 15:03:31 +0200 Subject: [PATCH 2/5] Do not indent the content of `Form' environment. * style/hyperref.el ("hyperref"): Do not indent the content of `Form' environment. --- ChangeLog | 3 +++ style/hyperref.el | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index ed15097..df7b22a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-08-30 Arash Esbati + * 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 ;; 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") -- 2.5.0