/[auctex]/auctex/font-latex.el
ViewVC logotype

Diff of /auctex/font-latex.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 5.131 by angeli, Fri Jul 8 16:32:22 2005 UTC revision 5.132 by angeli, Tue Jul 12 09:15:20 2005 UTC
# Line 1392  Used for patterns like: Line 1392  Used for patterns like:
1392  \\begin{equation}  \\begin{equation}
1393   fontified stuff   fontified stuff
1394  \\end{equation}  \\end{equation}
1395  The \\begin{equation} and \\end{equation are not fontified here."  The \\begin{equation} and \\end{equation} are not fontified here."
1396    (when (re-search-forward    (when (re-search-forward
1397           (eval-when-compile           (eval-when-compile
1398             (concat "\\\\begin{\\(\\(display\\)?math\\|equation\\|eqnarray"             (concat "\\\\begin[ \t]*{\\(\\(display\\)?math\\|equation\\|eqnarray"
1399                     "\\|gather\\|multline\\|align\\|x*alignat"                     "\\|gather\\|multline\\|align\\|x*alignat"
1400                     "\\)\\*?}"))                     "\\)\\*?}"))
1401           limit t)           limit t)
1402      (let ((beg (match-end 0)) end)      (let ((beg (match-end 0)) end)
1403        (if (search-forward (concat "\\end{" (buffer-substring        (if (re-search-forward (concat "\\\\end[ \t]*{"
1404                                              (match-beginning 1)(match-end 0)))                                       (regexp-quote (buffer-substring
1405                            limit 'move)                                                      (match-beginning 1)
1406                                                        (match-end 0))))
1407                                 limit 'move)
1408            (setq end (match-beginning 0))            (setq end (match-beginning 0))
1409          (setq end (point)))          (setq end (point)))
1410        (store-match-data (list beg end))        (store-match-data (list beg end))

Legend:
Removed from v.5.131  
changed lines
  Added in v.5.132

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26