CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    07/08/24 19:03:34

Index: font-latex.el
===================================================================
RCS file: /cvsroot/auctex/auctex/font-latex.el,v
retrieving revision 5.175
retrieving revision 5.176
diff -u -b -r5.175 -r5.176
--- font-latex.el       20 Aug 2007 20:09:52 -0000      5.175
+++ font-latex.el       24 Aug 2007 19:03:34 -0000      5.176
@@ -1446,7 +1446,7 @@
                        error-indicator-pos match-beg)
                  (throw 'break nil))))
              (setq alternative nil)))
-         (when syntax-error
+         (when (and syntax-error (eq major-mode 'latex-mode))
            ;; Add the warning face at the front of the list because
            ;; the matcher uses 'append and the face would otherwise
            ;; be overridden by the keyword face.


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

Reply via email to