[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/auctex c2f6e9c 08/11: [Fix #20227] Fix indentation of \
From: |
Tassilo Horn |
Subject: |
[elpa] externals/auctex c2f6e9c 08/11: [Fix #20227] Fix indentation of \[...\] math mode. |
Date: |
Sat, 11 Apr 2015 12:02:42 +0000 |
branch: externals/auctex
commit c2f6e9c4ad208ebddadd42a0314a59503399d00f
Author: Mosè Giordano <address@hidden>
Commit: Mosè Giordano <address@hidden>
[Fix #20227] Fix indentation of \[...\] math mode.
* latex.el (LaTeX-begin-regexp): Add "\[".
(LaTeX-indent-calculate): Remove indentation of "\[...\]" from
here, it is automatically done in `LaTeX-indent-level-count' now
that `LaTeX-begin-regexp' has "\[". (Bug#20227)
---
ChangeLog | 7 +++++++
latex.el | 6 +-----
2 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 71f2f99..6d4d5e0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2015-03-30 Mos� Giordano <address@hidden>
+
+ * latex.el (LaTeX-begin-regexp): Add "\[".
+ (LaTeX-indent-calculate): Remove indentation of "\[...\]" from
+ here, it is automatically done in `LaTeX-indent-level-count' now
+ that `LaTeX-begin-regexp' has "\[". (Bug#20227)
+
2015-03-28 Mos� Giordano <address@hidden>
* style/acro.el:
diff --git a/latex.el b/latex.el
index 6ebcfb6..187f1b6 100644
--- a/latex.el
+++ b/latex.el
@@ -2943,7 +2943,7 @@ indentation level in columns."
(make-obsolete-variable 'LaTeX-verbatim-regexp
'LaTeX-verbatim-environments-local
"2014-12-19")
-(defcustom LaTeX-begin-regexp "begin\\b"
+(defcustom LaTeX-begin-regexp "begin\\b\\|\\["
"*Regexp matching macros considered begins."
:group 'LaTeX-indentation
:type 'regexp)
@@ -3141,10 +3141,6 @@ outer indentation in case of a commented line. The
symbols
;; End brace in the start of the line.
(- (LaTeX-indent-calculate-last force-type)
TeX-brace-indent-level))
- ((and (texmathp)
- ;; Display math \[...\], treat as a generic environment.
- (equal "\\[" (car texmathp-why)))
- LaTeX-indent-level)
(t (LaTeX-indent-calculate-last force-type))))))
(defun LaTeX-indent-level-count ()
- [elpa] externals/auctex updated (6620d8c -> 05e30be), Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 8af05de 01/11: Apply styles in reverse order, Tassilo Horn, 2015/04/11
- [elpa] externals/auctex b91b203 02/11: docfix, Tassilo Horn, 2015/04/11
- [elpa] externals/auctex b418fbb 04/11: Ask for a `Width' in minibuffer and not a `Length'., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 4fd5b48 03/11: Add three missing LaTeX lengths., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex e4a6481 05/11: New style colortbl.el., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 0c15d1a 07/11: Remove duplicate lines., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex c2f6e9c 08/11: [Fix #20227] Fix indentation of \[...\] math mode.,
Tassilo Horn <=
- [elpa] externals/auctex c7c77a2 06/11: Fix parsing of new auto types in style files., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex bf5f55b 09/11: Document indentation of "\[...\]"., Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 05e30be 11/11: Release 11.88.4, Tassilo Horn, 2015/04/11
- [elpa] externals/auctex 143aa59 10/11: Merge branch 'master' into elpa, Tassilo Horn, 2015/04/11