>From 7c18282948c86327daae8f3815f2f7585c775eaa Mon Sep 17 00:00:00 2001 From: Arash Esbati Date: Sat, 22 Aug 2015 11:38:59 +0200 Subject: [PATCH 3/5] Do not indent the content of the `Form'-env. * style/hyperref.el ("hyperref"): Do not indent the content of the `Form'-env. --- ChangeLog | 3 +++ style/hyperref.el | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 4a4812e..80978cf 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2015-08-22 Arash Esbati + * style/hyperref.el ("hyperref"): Do not indent the content of the + `Form'-env. + * style/caption.el ("caption"): Add support for undocumented macros `\captionbox[*]'. (LaTeX-arg-caption-captionbox): New function. 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