CVSROOT:        /cvsroot/auctex
Module name:    auctex
Changes by:     Ralf Angeli <angeli>    07/08/19 17:27:20

Index: fancyref.el
===================================================================
RCS file: /cvsroot/auctex/auctex/style/fancyref.el,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -b -r1.4 -r1.5
--- fancyref.el 23 Oct 2005 10:13:01 -0000      1.4
+++ fancyref.el 19 Aug 2007 17:27:20 -0000      1.5
@@ -67,12 +67,10 @@
              ("\\\\[fF]refformat{\\([^{}\n\r\\%,]*\\)"
               1 LaTeX-fancyref-formats "}"))
            TeX-complete-list))
-     ;; font-lock:
+     ;; Fontification
      (when (and (featurep 'font-latex)
                (eq TeX-install-font-lock 'font-latex-setup))
-       (add-to-list 'font-latex-match-reference-keywords-local "fref")
-       (add-to-list 'font-latex-match-reference-keywords-local "Fref")
-       (font-latex-match-reference-make))))
+       (font-latex-add-keywords '(("fref" "[{") ("Fref" "[{")) 'reference))))
 
 ;; The following list keeps a list of available format names
 ;; Note that this list is only updated when a format is used, not


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

Reply via email to