[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[AUCTeX-diffs] Changes to auctex/font-latex.el,v
From: |
Ralf Angeli |
Subject: |
[AUCTeX-diffs] Changes to auctex/font-latex.el,v |
Date: |
Tue, 25 Jul 2006 16:45:50 +0000 |
CVSROOT: /cvsroot/auctex
Module name: auctex
Changes by: Ralf Angeli <angeli> 06/07/25 16:45:50
Index: font-latex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/font-latex.el,v
retrieving revision 5.159
retrieving revision 5.160
diff -u -b -r5.159 -r5.160
--- font-latex.el 21 Jul 2006 21:08:35 -0000 5.159
+++ font-latex.el 25 Jul 2006 16:45:50 -0000 5.160
@@ -1509,7 +1509,11 @@
(store-match-data (list point point point point)))
(when (match-end 3)
(let ((beg (match-beginning 3))
- (end (TeX-find-closing-brace)))
+ (end (TeX-find-closing-brace
+ ;; Don't match groups spanning more than one line
+ ;; in order to avoid visually wrong indentation in
+ ;; subsequent lines.
+ nil (line-end-position))))
(store-match-data (if end
(list (match-beginning 0) end beg end)
(list beg beg beg beg))))))