auctex-diffs
[Top][All Lists]
Advanced

[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: Fri, 24 Aug 2007 19:03:34 +0000

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]