Index: auctex/texmathp.el
diff -u auctex/texmathp.el:5.12 auctex/texmathp.el:5.13
--- auctex/texmathp.el:5.12     Wed Apr 27 16:16:38 2005
+++ auctex/texmathp.el  Tue Jul 12 07:42:33 2005
@@ -314,7 +314,7 @@
     (save-excursion
       (and (null texmathp-environments) (throw 'exit nil))
       (let (end-list env)
-       (while (re-search-backward "\\\\\\(begin\\|end\\){\\([^}]+\\)}"
+       (while (re-search-backward "\\\\\\(begin\\|end\\)[ \t]*{\\([^}]+\\)}"
                                   bound t)
          (setq env (buffer-substring-no-properties
                     (match-beginning 2) (match-end 2)))


_______________________________________________
auctex-diffs mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/auctex-diffs

Reply via email to